Functions

/home/hauberg/Dokumenter/Capture/humim-tracker-0.1/src/glauxil.cc File Reference

#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)

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.