DrawableMesh.cpp File Reference

Implement the Track::DrawableMesh class. More...

#include "DrawableMesh.h"
#include <GL/glew.h>
#include <GL/gl.h>
#include <Debug.h>

Go to the source code of this file.

Namespaces

namespace  Track

Defines

#define USE_VERTEX_BUFFER_OBJECTS
#define do_vert(v)


Detailed Description

Implement the Track::DrawableMesh class.

Author:
James Legg

Definition in file DrawableMesh.cpp.


Define Documentation

#define do_vert (  ) 

Value:

data.push_back(v.normal.getX());\
        data.push_back(v.normal.getY());\
        data.push_back(v.normal.getZ());\
        data.push_back(v.texture_coord_u);\
        data.push_back(v.texture_coord_v);\
        data.push_back(vertices_position[v.vertex_index].getX());\
        data.push_back(vertices_position[v.vertex_index].getY());\
        data.push_back(vertices_position[v.vertex_index].getZ());

#define USE_VERTEX_BUFFER_OBJECTS

Definition at line 19 of file DrawableMesh.cpp.


Get Racer at SourceForge.net. Fast, secure and Free Open Source software downloads

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