39#ifndef INCLUDED_DISTI_CULL_H
40#define INCLUDED_DISTI_CULL_H
bool _enabled
Whether or not culling is enabled.
Definition: cull.h:71
void Enabled(bool newVal)
Definition: cull.h:123
ClippingPlanesEnum
Definition: cull.h:61
bool SphereOutsideFrustum(const Vector ¢er, const float radius) const
Definition: cull.h:97
bool Enabled() const
Definition: cull.h:118
void ExtractFrustum(OpenGLMatrices &matrices)
Culler(bool enabled=true)
PlaneClass _planes[6]
Array of six clipping planes to define the frustum.
Definition: cull.h:73
const PlaneClass & Plane(const ClippingPlanesEnum &whichPlane) const
CullResultEnum
Definition: cull.h:53
@ INSIDE_FRUSTUM
Definition: cull.h:56
@ INTERSECTS_FRUSTUM
Definition: cull.h:55
CullResultEnum SphereInFrustum(const Vector &v, const float radius) const
Class to contain current OpenGL view, projection and draw matrices.
Definition: util.h:540
float d
A coefficient to describe a 3D plane: aX + bY + cZ + d = 0.
Definition: vertex.h:572
float b
A coefficient to describe a 3D plane: aX + bY + cZ + d = 0.
Definition: vertex.h:570
float c
A coefficient to describe a 3D plane: aX + bY + cZ + d = 0.
Definition: vertex.h:571
float y
The Y component.
Definition: vertex.h:87
float x
The X component.
Definition: vertex.h:86
float z
The Z component.
Definition: vertex.h:88
#define GLS_EXPORT
Macro denoting which functions should be visible from the runtime library.
Definition: gls_include.h:50
Definition: bmpimage.h:46
Generally useful defines, macros, enumerations and function prototypes.
The disti::Vertex class. A class for manipulating 3D vertices.