geMesh
From GriffinEngine
Contents
Usage
Used for storing 3D objects internally. Is only compatible with triangle-based meshes. Including quads in your object file will simply result in the renderer only drawing the first 3 vertexes of your quad.
Code Example: Importing a mesh and adding it to the resource manager
geMeshImporter* mi = geMeshImporter::Instance();
mesh* m = mi->importMesh("test.obj");
geResourceManager::Instance().add(m);
Inheritance
Base classes
- geObject
- geResource
- geMesh
- geResource
Reference
Fields
vector<float3> verts;
vector<geMeshFace*> faces;
Constructors
geMesh();
geMesh(const geMesh &rhs);
Accessors
Resources |
---|
geResourceManager · geResource |
geAnimation · geBitmap · geFont · geMaterial · geMesh · GeSound · GeSprite · GeSpriteSheet |