#include <GL/glut.h>
#include "math_types.h"
Go to the source code of this file.
Function Documentation
void draw_camera |
( |
const vector3 & |
cam |
) |
|
Draws a camera.
- Parameters:
-
[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.
- Parameters:
-
[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. |