3Depict
|
#include "drawables.h"
#include "common/colourmap.h"
#include "common/voxels.h"
#include "glDebug.h"
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 |
Referenced by DrawRectPrism::draw(), and DrawField3D::draw().
void drawCone | ( | const Point3D & | axisVec, |
const Point3D & | origin, | ||
float | radius, | ||
float | numConeRadiiLen, | ||
size_t | numSegments, | ||
bool | translateAxis = false |
||
) |
References Point3D::angle(), Point3D::crossProd(), Point3f::fx, Point3f::fy, Point3f::fz, Point3D::getValueArr(), M_PI, Point3D::normalise(), quat_rot(), and Point3D::sqrMag().
Referenced by DrawVector::draw().
const float DEPTH_SORT_REORDER_EPSILON = 1e-2 |