#include <PQTorusKnot.h>
Public Member Functions | |
PQTorusKnot () | |
PQTorusKnot (float p, float q, unsigned int ncircles=222, unsigned int ncircleverts=42) | |
~PQTorusKnot (void) | |
void | Render () |
void | Update () |
void | GetPoint (float t, VECTOR &point) |
void | SetPQ (float p, float q) |
void | IncreasePQ (float pinc, float qinc) |
Private Attributes | |
float | p_ |
float | q_ |
unsigned int | ncircles |
unsigned int | ncircleverts |
std::vector< VECTOR > | vertices |
std::vector< VECTOR > | normals |
std::vector< GLuint > | indices |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|