#include "glauxil.h"
#include <cmath>
Functions | |
void | partial_cylinder (float radius, float height, float theta_start, float theta_stop) |
void | draw_camera (const vector3 &cam) |
void draw_camera | ( | const vector3 & | cam | ) |
Draws a camera.
[in] | cam | Center of the camera. |
void partial_cylinder | ( | float | radius, | |
float | height, | |||
float | theta_start, | |||
float | theta_stop | |||
) |
Draw parts of a cylinder, i.e. only draw part of the rotation.
[in] | radius | Radius of the cylinder. |
[in] | height | Height of the cylinder. |
[in] | theta_start | The beginning of the rotational interval. |
[in] | theta_stop | The end of the rotational interval. |