コード例 #1
0
 //***************************************************************************
 // Static Methods
 //
 public static void DrawMesh(MeshObject mesh)
 {
     Graphics3D.DrawMesh(mesh.Mesh, mesh.Materials, mesh.Textures,
                         Matrix.Translation(mesh.Position.X, mesh.Position.Y, mesh.Position.Z) *
                         Matrix.RotationYawPitchRoll(mesh.Rotation.X, mesh.Rotation.Y, mesh.Rotation.Z));
 }
コード例 #2
0
 public void DrawMesh(int index)
 {
     Graphics3D.DrawMesh(this._meshes[index]);
 }