|
|
| LM_COMPONENT_IMPL_DEF ("obj") |
| |
| virtual bool | Load (const ConfigNode &node, const Assets &assets) override |
| |
| virtual int | NumVertices () const override |
| |
| virtual int | NumFaces () const override |
| |
| virtual const Math::Float * | Positions () const override |
| |
| virtual const Math::Float * | Normals () const override |
| |
| virtual const Math::Float * | TexCoords () const override |
| |
| virtual const unsigned int * | Faces () const override |
| |
|
| LM_ASSET_INTERFACE_DEF ("triangle_mesh","triangle_meshes") |
| |
|
| LM_ASSET_NO_DEPENDENCIES () |
| |
| LM_PUBLIC_API std::string | ID () const |
| |
| LM_HIDDEN_API void | SetID (const std::string &id) |
| |
| virtual std::string | ComponentInterfaceTypeName () const =0 |
| |
| virtual std::string | ComponentImplTypeName () const =0 |
| |
|
void * | operator new (std::size_t size) throw (std::bad_alloc) |
| |
|
void | operator delete (void *p) |
| |
Obj mesh. Triangle mesh implementation for Wavefront obj files. The class partially supports the specification of the Wavefront obj files.