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