#include <contour.h>

Public Member Functions | |
| contour (const string &f, const color &col) | |
| Constructor. | |
| void | dl_gen (const screen &scr) |
| Display-list generator. | |
This class maps a scalar function of two variables to a 2-d plot showing the iso-curve z = 0
| glot::contour::contour | ( | const string & | f, | |
| const color & | col | |||
| ) | [inline] |
Constructor.
The function may use x, y and t and any combination of C-available functions. Rather, any C-available functions supported by the OpenGL Shading Language (GLSL) which includes most.
NOTE: GLSL is very picky about typecasting. When using integer values use the float equivalent instead: (Use 1.0 not 1, 93.0 not 93)
| void glot::contour::dl_gen | ( | const screen & | scr | ) | [virtual] |
Display-list generator.
| scr | - The specifications of the screen |
Implements glot::primitive.
1.5.8