3D Mesh and MeshBuilder interfaces. More...
Copyright (c) 1998-1999 by Amir Geva. This file is part of the Photon Game Development library, beta release version 0.25. Permission is granted to use and copy this file for non-commercial use only. Please contact the author concerning commercial usage. Amir Geva makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.
Loads a mesh from a .X file.
name specifies file name The Mesh* Parameter should be uninitialized, unlike previous versions!
Use this to create new MeshBuilders.
If mb is not NULL, the returned MeshBuilder is initialized with the vertex, face, and material info from mb.
this also will create a new MeshBuilder, but it initialized with the info from the given Mesh.
(same as {mb=newMeshBuilder(); mb->rebuild(m);} ).