GL Studio C++ Runtime API
DNCUtil::GLdoubleEdge Struct Reference

#include <dnc_util.h>

Public Member Functions

 GLdoubleEdge (const double x, const double y, const double z)
 
 GLdoubleEdge (const VPFDataValue &edgCoords, const bool reverseCoords)
 
 ~GLdoubleEdge ()
 

Public Attributes

GLdouble * verts
 

Detailed Description

helper struct for storing/inputing edge vertices in a format suitable for the glu Tessellator

Constructor & Destructor Documentation

GLdoubleEdge ( const double  x,
const double  y,
const double  z 
)
inline

Ctor - single coordinate edge

Parameters
xx coordinate
yy coordinate
zz coordinate
GLdoubleEdge ( const VPFDataValue edgCoords,
const bool  reverseCoords 
)
inline

Ctor

Parameters
edgCoordsedge coordinates for new edge ( must be array of VPFUtil::DATA_TYPE_2D_COORD_SHORT )
reverseCoordstrue to store edge coordinates in reverse order else false
~GLdoubleEdge ( )
inline

Dtor

Member Data Documentation

GLdouble* verts

array of ( x,y,z ) verts else NULL


The documentation for this struct was generated from the following file: