Track::MeshFaces::FaceVertex Struct Reference

vertex information for a vertex in a face More...

#include <MeshFaces.h>

List of all members.

Public Member Functions

 FaceVertex ()
 Construct leaving all fields undefined.
 FaceVertex (std::size_t vertex_index)
 Initialise just the vertex_index, leaving other fields are undefined.

Public Attributes

std::size_t vertex_index
 The index of the vertex position in the vertex positions array.
btVector3 normal
 The vertex normal for smooth shading.
float texture_coord_u
 The texture coordinate.
float texture_coord_v


Detailed Description

vertex information for a vertex in a face

Definition at line 64 of file MeshFaces.h.


Constructor & Destructor Documentation

Track::MeshFaces::FaceVertex::FaceVertex (  ) 

Construct leaving all fields undefined.

Definition at line 23 of file MeshFaces.cpp.

Track::MeshFaces::FaceVertex::FaceVertex ( std::size_t  vertex_index  ) 

Initialise just the vertex_index, leaving other fields are undefined.

Parameters:
vertex_index The index in the vertex_positions vector to use.

Definition at line 27 of file MeshFaces.cpp.


Member Data Documentation

btVector3 Track::MeshFaces::FaceVertex::normal

The vertex normal for smooth shading.

Definition at line 75 of file MeshFaces.h.

float Track::MeshFaces::FaceVertex::texture_coord_u

The texture coordinate.

Definition at line 77 of file MeshFaces.h.

float Track::MeshFaces::FaceVertex::texture_coord_v

Definition at line 78 of file MeshFaces.h.

std::size_t Track::MeshFaces::FaceVertex::vertex_index

The index of the vertex position in the vertex positions array.

Definition at line 73 of file MeshFaces.h.


The documentation for this struct was generated from the following files:
Get Racer at SourceForge.net. Fast, secure and Free Open Source software downloads

Generated at Mon Sep 6 00:41:18 2010 by Doxygen version 1.4.7 for Racer version svn335.