History

hook up a way to get mesh out of polyvox

Seth Alves committed 9 years ago

Commit d158f6a1 parent d6b22168 files · +60 −30Browse files

Showing the changes to libraries/script-engine/src/ModelScriptingInterface.h (1 of 8 files). Show all

Unified · Split

libraries/script-engine/src/ModelScriptingInterface.h+2−0
@@ -37,6 +37,8 @@ public: · 36 unmodified lines
3737
3838 MeshPointer getMeshPointer() const { return _mesh; }
3939
40+ Q_INVOKABLE int getNumVertices() const { return _mesh->getNumVertices(); }
41+
4042 protected:
4143 MeshPointer _mesh;
4244 };