Namespaces | Defines | Enumerations

Defines.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  gmtl
 

Meta programming classes.


Defines

#define GMTL_NEAR(x, y, eps)   (gmtl::Math::abs((x)-(y))<(eps))

Enumerations

enum  gmtl::VectorIndex { gmtl::Xelt = 0, gmtl::Yelt = 1, gmtl::Zelt = 2, gmtl::Welt = 3 }
 

use the values in this enum to index vector data types (such as Vec, Point, Quat).

More...
enum  gmtl::PlaneSide { gmtl::ON_PLANE, gmtl::POS_SIDE, gmtl::NEG_SIDE }
 

Used to describe where a point lies in relationship to a plane.

More...

Variables

Constants

const float gmtl::GMTL_EPSILON = 1.0e-6f
const float gmtl::GMTL_MAT_EQUAL_EPSILON = 0.001f
const float gmtl::GMTL_VEC_EQUAL_EPSILON = 0.0001f

Define Documentation

#define GMTL_NEAR (   x,
  y,
  eps 
)    (gmtl::Math::abs((x)-(y))<(eps))

Definition at line 48 of file Defines.h.