Constructor
| 33 | |
| 34 | // Constructor |
| 35 | TriangleMesh::TriangleMesh(MemoryAllocator& allocator) |
| 36 | : mAllocator(allocator), mVertices(allocator), mTriangles(allocator), |
| 37 | mVerticesNormals(allocator), mDynamicAABBTree(allocator), mEpsilon(0) { |
| 38 | |
| 39 | } |
| 40 | |
| 41 | // Initialize the mesh using a TriangleVertexArray |
| 42 | bool TriangleMesh::init(const TriangleVertexArray& triangleVertexArray, std::vector<Message>& messages) { |
nothing calls this directly
no outgoing calls
no test coverage detected