matrix_projection.h File Reference

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

Include dependency graph for matrix_projection.h:

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

Go to the source code of this file.

Namespaces

namespace  cml

Functions

template<typename E , class A , class B , class L >
void cml::matrix_orthographic (matrix< E, A, B, L > &m, E width, E height, E n, E f, Handedness handedness, ZClip z_clip)
 Build an orthographic projection matrix.
template<typename E , class A , class B , class L >
void cml::matrix_orthographic (matrix< E, A, B, L > &m, E left, E right, E bottom, E top, E n, E f, Handedness handedness, ZClip z_clip)
 Build a matrix representing an orthographic projection, specified by frustum bounds in l,r,b,t,n,f form, and with the given handedness and z clipping range.
template<typename E , class A , class B , class L >
void cml::matrix_orthographic_LH (matrix< E, A, B, L > &m, E width, E height, E n, E f, ZClip z_clip)
 Build a left-handedness orthographic projection matrix.
template<typename E , class A , class B , class L >
void cml::matrix_orthographic_LH (matrix< E, A, B, L > &m, E left, E right, E bottom, E top, E n, E f, ZClip z_clip)
 Build a left-handedness orthographic projection matrix.
template<typename E , class A , class B , class L >
void cml::matrix_orthographic_RH (matrix< E, A, B, L > &m, E width, E height, E n, E f, ZClip z_clip)
 Build a right-handedness orthographic projection matrix.
template<typename E , class A , class B , class L >
void cml::matrix_orthographic_RH (matrix< E, A, B, L > &m, E left, E right, E bottom, E top, E n, E f, ZClip z_clip)
 Build a right-handedness orthographic projection matrix.
template<typename E , class A , class B , class L >
void cml::matrix_perspective (matrix< E, A, B, L > &m, E width, E height, E n, E f, Handedness handedness, ZClip z_clip)
 Build a matrix representing a perspective projection, specified by frustum bounds in w,h,n,f form, and with the given handedness and z clipping range.
template<typename E , class A , class B , class L >
void cml::matrix_perspective (matrix< E, A, B, L > &m, E left, E right, E bottom, E top, E n, E f, Handedness handedness, ZClip z_clip)
 Build a matrix representing a perspective projection, specified by frustum bounds in l,r,b,t,n,f form, and with the given handedness and z clipping range.
template<typename E , class A , class B , class L >
void cml::matrix_perspective_LH (matrix< E, A, B, L > &m, E width, E height, E n, E f, ZClip z_clip)
 Build a left-handedness frustum perspective matrix.
template<typename E , class A , class B , class L >
void cml::matrix_perspective_LH (matrix< E, A, B, L > &m, E left, E right, E bottom, E top, E n, E f, ZClip z_clip)
 Build a left-handedness frustum perspective matrix.
template<typename E , class A , class B , class L >
void cml::matrix_perspective_RH (matrix< E, A, B, L > &m, E width, E height, E n, E f, ZClip z_clip)
 Build a right-handedness frustum perspective matrix.
template<typename E , class A , class B , class L >
void cml::matrix_perspective_RH (matrix< E, A, B, L > &m, E left, E right, E bottom, E top, E n, E f, ZClip z_clip)
 Build a right-handedness frustum perspective matrix.
template<typename E , class A , class B , class L >
void cml::matrix_perspective_xfov (matrix< E, A, B, L > &m, E xfov, E aspect, E n, E f, Handedness handedness, ZClip z_clip)
 Build a perspective matrix.
template<typename E , class A , class B , class L >
void cml::matrix_perspective_xfov_LH (matrix< E, A, B, L > &m, E xfov, E aspect, E n, E f, ZClip z_clip)
 Build a left-handedness perspective matrix.
template<typename E , class A , class B , class L >
void cml::matrix_perspective_xfov_RH (matrix< E, A, B, L > &m, E xfov, E aspect, E n, E f, ZClip z_clip)
 Build a right-handedness perspective matrix.
template<typename E , class A , class B , class L >
void cml::matrix_perspective_yfov (matrix< E, A, B, L > &m, E yfov, E aspect, E n, E f, Handedness handedness, ZClip z_clip)
 Build a perspective matrix.
template<typename E , class A , class B , class L >
void cml::matrix_perspective_yfov_LH (matrix< E, A, B, L > &m, E yfov, E aspect, E n, E f, ZClip z_clip)
 Build a left-handedness perspective matrix.
template<typename E , class A , class B , class L >
void cml::matrix_perspective_yfov_RH (matrix< E, A, B, L > &m, E yfov, E aspect, E n, E f, ZClip z_clip)
 Build a right-handedness perspective matrix.
template<typename E , class A , class B , class L >
void cml::matrix_pick (matrix< E, A, B, L > &m, E pick_x, E pick_y, E pick_width, E pick_height, E viewport_x, E viewport_y, E viewport_width, E viewport_height)
template<typename E , class A , class B , class L >
void cml::matrix_viewport (matrix< E, A, B, L > &m, E left, E right, E bottom, E top, ZClip z_clip, E n=E(0), E f=E(1))


Detailed Description

Definition in file matrix_projection.h.


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