#include <curve.h>
Public Member Functions | |
curve (string f, const color &col) | |
Constructor. | |
void | dl_gen (const screen &s) |
Display-list generator. | |
Public Attributes | |
color | c |
Color variable. |
This class takes a function that accepts a double and returns a double and does its best to plot it in the grapher.
glot::curve::curve | ( | string | f, | |
const color & | col | |||
) | [inline] |
void glot::curve::dl_gen | ( | const screen & | s | ) | [virtual] |
Display-list generator.
s | - the screen specs |
Implements glot::primitive.
Color variable.
This is the color the curve is supposed to take on.
Reimplemented from glot::primitive.