frustum.h File Reference

#include <cml/mathlib/matrix_concat.h>
#include <cml/mathlib/checking.h>

Include dependency graph for frustum.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  cml
namespace  cml::detail

Functions

template<class MatT , typename Real >
void cml::extract_frustum_planes (const MatT &m, Real planes[6][4], ZClip z_clip, bool normalize=true)
template<class MatT , typename Real >
void cml::extract_frustum_planes (const MatT &modelview, const MatT &projection, Real planes[6][4], ZClip z_clip, bool normalize=true)
template<class MatT , class PlaneT >
void cml::extract_near_frustum_plane (const MatT &m, PlaneT &plane, ZClip z_clip)
 Extract the near plane of a frustum given a concatenated modelview and projection matrix with the given near z-clipping range.
template<typename Real , typename E , class A >
void cml::get_frustum_corners (Real planes[6][4], vector< E, A > corners[8])
template<typename Real >
vector< Real, fixed< 3 > > cml::detail::intersect_planes (Real p1[4], Real p2[4], Real p3[4])


Detailed Description

Definition in file frustum.h.


Generated on Sat Jul 18 19:35:36 2009 for CML 1.0 by  doxygen 1.5.9