Class hierarchy Compound list File list Compound Members File Members

# CON_Mesh.h File Reference

3D Mesh and MeshBuilder interfaces. More...

## Compounds

- class Mesh
- class MeshBuilder

## Functions

- DLLExport long loadXFile (const char* Name, Mesh*& O, TextureCache* TC=NULL, float Scale=1.0f)
    Loads a mesh from a .X file.

- DLLExport MeshBuilder* newMeshBuilder (const MeshBuilder* mb=NULL)
    Use this to create new MeshBuilders.

- DLLExport MeshBuilder* newMeshBuilder (const Mesh* m)
    this also will create a new MeshBuilder, but it initialized with the info from the given Mesh.

## Detailed Description

3D Mesh and MeshBuilder interfaces.

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.

## Function Documentation

### DLLExport long loadXFile(const char* Name, Mesh*& O, TextureCache* TC=NULL, float Scale=1.0f)

Loads a mesh from a .X file.

name specifies file name The Mesh* Parameter should be uninitialized, unlike previous versions!

### DLLExport MeshBuilder* newMeshBuilder(const MeshBuilder* mb=NULL)

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.

### DLLExport MeshBuilder* newMeshBuilder(const Mesh* m)

this also will create a new MeshBuilder, but it initialized with the info from the given Mesh.

(same as {mb=newMeshBuilder(); mb->rebuild(m);} ).