|
//********************************************
// Base3d.h
// 3d Toolbox Includes
//********************************************
// alliez@usc.edu
// Created : 15/12/97
// Modified : 27/04/98
//********************************************
#ifndef _BASE_3D_
#define _BASE_3D_
// 3d library
#include "Object3d.h"
#include "Vertex3d.h"
#include "Vector3d.h"
#include "Edge3d.h"
#include "Face3d.h"
#include "Mesh3d.h"
#include "SceneGraph3d.h"
#include "Utils3d.h"
#include "Transform.h"
// Standard
#include "Array3d.h"
// VRML Parser
#include "ParserVrml.h"
// Apparence attributes
#include "Color.h"
#include "ColorRamp.h"
#include "Material.h"
#include "Texture.h"
// Object types
enum {TYPE_OBJECT3D,
TYPE_VERTEX3D,
TYPE_VECTOR3D,
TYPE_FACE3D,
TYPE_POLYGON3D,
TYPE_MESH3D,
TYPE_EDGE3D,
TYPE_VECTORSET3D};
// Normal binding
enum {NORMAL_PER_VERTEX,
NORMAL_PER_FACE};
enum {COLOR_PER_VERTEX,
COLOR_PER_FACE};
enum {POTENTIAL_EDGE_LENGTH,
POTENTIAL_CURVE,
POTENTIAL_CURVE_AND_EDGE_LENGTH};
// Misc
const float MAX_FLOAT = 3.4e+38f;
const double MAX_DOUBLE = 1.7e+308;
const double PI = 3.14159265359;
#endif // _BASE_3D_
// ** EOF **
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.