sphore 0.0.1
SPH openGL rendering engine
|
Code for managing data that is to be rendered as point. More...
Data Structures | |
struct | _data_points |
The internal storage for data to be rendered as points. More... | |
Functions | |
data_points_t * | data_points_create (unsigned int n, float *x, float *y, float *z) |
void | data_points_destroy (data_points_t *data) |
Frees the memory associated with the given data_points. | |
void | data_points_render (data_points_t *data) |
void | data_points_set_colour (data_points_t *ds, float *colour) |
Code for managing data that is to be rendered as point.
data_points_t* data_points_create | ( | unsigned int | n, |
float * | x, | ||
float * | y, | ||
float * | z | ||
) |
void data_points_destroy | ( | data_points_t * | ds | ) |
Frees the memory associated with the given data_points.
[in] | ds | the data to be destroyed. |
void data_points_render | ( | data_points_t * | data | ) |
Renders the give points.
void data_points_set_colour | ( | data_points_t * | ds, |
float * | colour | ||
) |
Sets the colour of the given data points.