3Depict
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Functions | Variables
drawables.cpp File Reference
#include "drawables.h"
#include "common/colourmap.h"
#include "common/voxels.h"
#include "glDebug.h"
Include dependency graph for drawables.cpp:

Functions

void drawCone (const Point3D &axisVec, const Point3D &origin, float radius, float numConeRadiiLen, size_t numSegments, bool translateAxis=false)
 
void drawBox (Point3D pMin, Point3D pMax, float r, float g, float b, float a)
 

Variables

const float DEPTH_SORT_REORDER_EPSILON = 1e-2
 

Function Documentation

◆ drawBox()

void drawBox ( Point3D  pMin,
Point3D  pMax,
float  r,
float  g,
float  b,
float  a 
)

Referenced by DrawRectPrism::draw(), and DrawField3D::draw().

Here is the caller graph for this function:

◆ drawCone()

void drawCone ( const Point3D axisVec,
const Point3D origin,
float  radius,
float  numConeRadiiLen,
size_t  numSegments,
bool  translateAxis = false 
)

Variable Documentation

◆ DEPTH_SORT_REORDER_EPSILON

const float DEPTH_SORT_REORDER_EPSILON = 1e-2