primitives.h File Reference
Primitive drawing functions.
More...
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
|
Defines |
|
#define | LSG_PRIMITIVES_H 1 |
Functions |
| void | draw_sphere (float radius, int details) |
Detailed Description
Primitive drawing functions.
Function Documentation
| void draw_sphere |
( |
float |
radius, |
|
|
int |
details |
|
) |
|
|
|
|
Draw a sphere. - Parameters:
-
| radius | The radius of the sphere |
| details | The triangle resolution (stacks/slices) of the sphere |
|