#include "plane.h"
Go to the source code of this file.
Classes | |
struct | frustum_t |
Basic frustum object. More... | |
Functions | |
bool | createViewFrustum (IN const point3d_t &position, IN const point3d_t &facing, IN const point3d_t &up, IN float fovyRadians, IN float zNear, IN float zFar, IN float aspect, OUT frustum_t &frustum) throw () |
create a view frustum given basic geometric information. |
bool createViewFrustum | ( | IN const point3d_t & | position, | |
IN const point3d_t & | facing, | |||
IN const point3d_t & | up, | |||
IN float | fovyRadians, | |||
IN float | zNear, | |||
IN float | zFar, | |||
IN float | aspect, | |||
OUT frustum_t & | frustum | |||
) | throw () |
create a view frustum given basic geometric information.
Keep in mind, this uses standard OpenGL right-handed coordinates, with Y being the usual up direction, and x and z in the plane of the ground.
fovyRadians | field of view, Y |
Definition at line 219 of file frustum.cpp.