diff options
Diffstat (limited to 'src/graphics/common/modelfile.h')
-rw-r--r-- | src/graphics/common/modelfile.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/graphics/common/modelfile.h b/src/graphics/common/modelfile.h index 625df50..f8cb022 100644 --- a/src/graphics/common/modelfile.h +++ b/src/graphics/common/modelfile.h @@ -91,6 +91,8 @@ public: //! Returns the number of triangles in model int GetTriangleCount(); + //! Returns the triangle vector + std::vector<Gfx::ModelTriangle>& GetTriangles(); //! Returns the height of model -- closest point to X and Z coords of \a pos float GetHeight(Math::Vector pos); @@ -106,7 +108,7 @@ protected: protected: CInstanceManager* m_iMan; - CEngine* m_engine; + Gfx::CEngine* m_engine; //! Last error std::string m_error; |