thinks / obj-io Goto Github PK
View Code? Open in Web Editor NEWSingle-file, header-only, no dependencies C++ implementation of the Wavefront obj file format.
Home Page: http://www.tommyhinks.com
License: MIT License
Single-file, header-only, no dependencies C++ implementation of the Wavefront obj file format.
Home Page: http://www.tommyhinks.com
License: MIT License
Requires changing the names of some functions to make sense.
obj_io.h
uses anonymous lambdas, which is supported by C++14 but not C++11. If you try to use this header with -std=c++11
, you'll get errors like this:
obj_io.h:726:48: error: 'auto' not allowed in lambda parameter
[](const auto&) {}, // No validation.
^~~~
obj_io.h:735:16: error: 'auto' not allowed in lambda parameter
[](const auto& tex_coord) { ValidateObjTexCoord(tex_coord); }, newline);
^~~~
obj_io.h:750:46: error: 'auto' not allowed in lambda parameter
[](const auto&) {}, // No validation.
^~~~
obj_io.h:766:16: error: 'auto' not allowed in lambda parameter
[](const auto& face) {
Thanks to the author for putting this out there, and it looks like this project is dead anyway so I don't expect a fix, but in case anybody found this online and is checking the Issues page first: it is not C++11.
GCC-13 throws erros about unknown sized integer types when building this project.
Could be fixed by adding the additional include #include <cstdint>
.
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.