swiftsnamesake / 3dwaves Goto Github PK
View Code? Open in Web Editor NEWWavefront OBJ parsers and related amenities
License: MIT License
Wavefront OBJ parsers and related amenities
License: MIT License
Make sure the formatting is consistent. For example, the section dividers.
The face parser shouldn't accept differing vertex definitions (eg. "f 1 4/2 4/2"). A face either has normals and texture coordinates, or it doesn't.
Maybe it would be better to use a union for the VertexIndices
type.
It also shouldn't default to Nothing when failing to parse an index.
3DWaves/src/Graphics/WaveFront/Types.hs
Line 140 in 18948d9
Nice haddocks
Write proper tests (cf. Criterion and QuickCheck).
The current implementation uses attoparsec, which is efficient but less capable of generating detailed and helpful error messages.
We should consider adding another parsing mode (possibly using Parsec instead), which is capable of locating and perhaps even suggesting fixes to malformed data.
Fix the typos, add documentation
Case in point:
3DWaves/src/Graphics/WaveFront/Types.hs
Lines 143 to 145 in 18948d9
We obviously can't depend on packages that are assumed to be stored locally at a particular path (eg. Cartesian and Leibniz)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.