Method | Description | |
---|---|---|
Run ( ) : void | ||
checkForCgError ( string situation ) : void | ||
display ( ) : void | ||
drawSubDividedTriangle ( int subdivisions ) : void |
Large vertex displacements such as are possible with C3E4v_twist require a high degree of tessellation. This routine draws a triangle recursively subdivided to provide sufficient tessellation.
|
|
idle ( ) : void | ||
keyboard ( byte key, int x, int y ) : void | ||
menu ( int item ) : void | ||
triangleDivide ( int depth, float a, float b, float c, float ca, float cb, float cc ) : void |
Apply an inefficient but simple-to-implement subdivision scheme for a triangle.
|