//----------------------------------------------------------------------------- MeshBufferPtr MeshBuffer::Create(const VertexBufferArray& VertexBuffers, const StreamIndexArray& StreamIndices, IndexBufferPtr pIndexBuffer) { MeshBufferPtr pMB = MeshBufferPtr(new MeshBuffer(VertexBuffers, StreamIndices, pIndexBuffer)); return pMB; }
Model( PointBufferPtr p = PointBufferPtr(), MeshBufferPtr m = MeshBufferPtr() ) { m_pointCloud = p; m_mesh = m; };