objects classes, initialization and settings Uses lib3DS to load 3D objects/scenes: http://code.google.com/p/lib3ds/ More...
#include "material.h"
#include "../extern/lib3ds/lib3ds.h"
Go to the source code of this file.
Classes | |
struct | VBO |
Vertex buffer objects structure. More... | |
class | TObject |
contains object information(unique name, type), 3D data(vertices, faces, normal and texture coordinates), position, rotation and scale, link to material and some specific settings (like shadow casting) More... | |
Typedefs | |
typedef float | TVertex [3] |
data structure to store vertex/texture/faces data | |
typedef float | TCoord [2] |
data structure to store texture data | |
Enumerations | |
enum | Obj_types { PRIMITIVE, EXTERN, INSTANCE } |
Object types. | |
enum | Primitives { CUBE, PLANE, STRIP_PLANE, CONE, CYLINDER, DISK, SPHERE, TORUS, SPLINE, FONT, SCREEN_QUAD, MY_POINT } |
Basic primitive types. | |
enum | VBOindices { P_VERTEX, P_NORMAL, P_TEXCOORD, P_INDEX } |
vertex buffer indices |
objects classes, initialization and settings Uses lib3DS to load 3D objects/scenes: http://code.google.com/p/lib3ds/