#include <glmesh.h>
Public Types | |
| typedef std::vector< Vector2 > | Vector2Vector |
| typedef Vector2Vector::iterator | Vector2VectorIt |
| typedef Vector2Vector::const_iterator | Vector2VectorConstIt |
| typedef std::vector< Vector3 > | Vector3Vector |
| typedef Vector3Vector::iterator | Vector3VectorIt |
| typedef Vector3Vector::const_iterator | Vector3VectorConstIt |
| typedef std::vector< Face > | FaceVector |
| typedef FaceVector::iterator | FaceVectorIt |
| typedef FaceVector::const_iterator | FaceVectorConstIt |
Public Member Functions | |
| SubMesh () | |
| ~SubMesh () | |
| void | SetMaterial (Material *m) |
| Material * | GetMaterial () |
| void | SetupRendering (RenderingMode mode) |
| void | Render () const |
| void | DisplayNormals () const |
Public Attributes | |
| Vector3Vector | m_vertices |
| Vector3Vector | m_normals |
| Vector2Vector | m_texcoords |
| FaceVector | m_faces |
Private Member Functions | |
| void | do_rendering () const |
Private Attributes | |
| Material * | m_material |
| RenderingMode | m_rendering_mode |
| GLuint | m_list_name |
| OpenGL display list name. | |
|
|
|
|
|
Definition at line 63 of file glmesh.h. Referenced by do_rendering(). |
|
|
Definition at line 62 of file glmesh.h. Referenced by sheep::GLMesh::FlipFaces(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 59 of file glmesh.h. Referenced by sheep::GLMesh::Insert(). |
|
|
Definition at line 58 of file glmesh.h. Referenced by sheep::GLMesh::FlipFaces(). |
|
|
Definition at line 33 of file glmesh.cpp. References SetupRendering(). |
|
|
Definition at line 40 of file glmesh.cpp. References m_list_name. |
|
|
|
|
Definition at line 151 of file glmesh.h. Referenced by sheep::GLMeshBuilder::EndSubMesh(). |
|
|
Definition at line 63 of file glmesh.cpp. References do_rendering(), m_list_name, and m_rendering_mode. |
|
|
Definition at line 45 of file glmesh.cpp. Referenced by sheep::GLMeshBuilder::EndSubMesh(), and sheep::GLMeshBuilder::SetMaterial(). |
|
|
Definition at line 50 of file glmesh.cpp. References do_rendering(), m_list_name, and m_rendering_mode. Referenced by SubMesh(). |
|
|
Definition at line 68 of file glmesh.h. Referenced by sheep::GLMeshBuilder::AppendFace(), sheep::GLMesh::FlipFaces(), sheep::GLMesh::Insert(), sheep::GLMeshBuilder::SetFaceNormals(), and sheep::GLMeshBuilder::SetFaceTexCoords(). |
|
|
OpenGL display list name.
Definition at line 85 of file glmesh.h. Referenced by Render(), SetupRendering(), and ~SubMesh(). |
|
|
|
|
|
Definition at line 66 of file glmesh.h. Referenced by sheep::GLMeshBuilder::AppendNormal(), and sheep::GLMesh::FlipFaces(). |
|
|
Definition at line 84 of file glmesh.h. Referenced by Render(), and SetupRendering(). |
|
|
Definition at line 67 of file glmesh.h. Referenced by sheep::GLMeshBuilder::AppendTexCoord(). |
|
|
Definition at line 65 of file glmesh.h. Referenced by sheep::GLMeshBuilder::AppendVertex(), and sheep::GLMesh::Insert(). |
1.3.6