OBJParser
OBJ File Parser Powered by Boost Spirit
|
Index pairing comprising a single vertex of a face. More...
#include <OBJStructs.hpp>
Index pairing comprising a single vertex of a face.
Raw OBJ vertex indices may be negative and are 1-based. However, to keep use of the API easier and more compliant with standards, all indices are transformed to be positive only and 0-based.
With these changes, indices may be used directly within vertex data containers to retrieve the associated vertex element.
A negative vertex indicates that it is not in use.