2011-11-12 23:26:02 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
2011-12-07 14:50:15 +00:00
2011-11-12 23:26:02 +00:00
< title > GLM_GTC_matrix_transform: Matrix transform functions< / title >
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
2011-12-07 14:50:15 +00:00
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
2011-11-12 23:26:02 +00:00
< / head >
< body >
2011-12-07 14:50:15 +00:00
< div id = "top" > <!-- do not remove this div! -->
2011-11-12 23:26:02 +00:00
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
2011-12-07 14:50:15 +00:00
< td id = "projectlogo" > < img alt = "Logo" src = "logo-mini.png" / > < / td >
2011-11-12 23:26:02 +00:00
< / tr >
< / tbody >
< / table >
< / div >
2011-12-07 14:50:15 +00:00
<!-- Generated by Doxygen 1.7.5 -->
2011-11-12 23:26:02 +00:00
< div id = "navrow1" class = "tabs" >
< ul class = "tablist" >
< li > < a href = "index.html" > < span > Main  Page< / span > < / a > < / li >
< li > < a href = "pages.html" > < span > Related  Pages< / span > < / a > < / li >
< li > < a href = "modules.html" > < span > Modules< / span > < / a > < / li >
< li > < a href = "annotated.html" > < span > Classes< / span > < / a > < / li >
< li > < a href = "files.html" > < span > Files< / span > < / a > < / li >
< / ul >
< / div >
< / div >
< div class = "header" >
< div class = "summary" >
< a href = "#func-members" > Functions< / a > < / div >
< div class = "headertitle" >
2011-12-07 14:50:15 +00:00
< div class = "title" > GLM_GTC_matrix_transform: Matrix transform functions< / div > < / div >
2011-11-12 23:26:02 +00:00
< div class = "ingroups" > < a class = "el" href = "a00151.html" > GTC Extensions (Stable)< / a > < / div > < / div >
< div class = "contents" >
< table class = "memberdecls" >
< tr > < td colspan = "2" > < h2 > < a name = "func-members" > < / a >
Functions< / h2 > < / td > < / tr >
< tr > < td class = "memTemplParams" colspan = "2" > template< typename T > < / td > < / tr >
2011-12-07 14:50:15 +00:00
< tr > < td class = "memTemplItemLeft" align = "right" valign = "top" > detail::tmat4x4< T >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00162.html#ga2a5b0a83f78884d9cf3cc1ba99131299" > frustum< / a > (T const & left, T const & right, T const & bottom, T const & top, T const & near, T const & far)< / td > < / tr >
2011-11-12 23:26:02 +00:00
< tr > < td class = "memTemplParams" colspan = "2" > template< typename T > < / td > < / tr >
2011-12-07 14:50:15 +00:00
< tr > < td class = "memTemplItemLeft" align = "right" valign = "top" > detail::tmat4x4< T >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00162.html#ga414f3cfe1af5619acebd5c28cf6bd45c" > infinitePerspective< / a > (T fovy, T aspect, T near)< / td > < / tr >
2011-11-12 23:26:02 +00:00
< tr > < td class = "memTemplParams" colspan = "2" > template< typename T > < / td > < / tr >
2011-12-07 14:50:15 +00:00
< tr > < td class = "memTemplItemLeft" align = "right" valign = "top" > detail::tmat4x4< T >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00162.html#gae2dca3785b6d5796e876114af58a60a1" > lookAt< / a > (detail::tvec3< T > const & eye, detail::tvec3< T > const & center, detail::tvec3< T > const & up)< / td > < / tr >
2011-11-12 23:26:02 +00:00
< tr > < td class = "memTemplParams" colspan = "2" > template< typename T > < / td > < / tr >
2011-12-07 14:50:15 +00:00
< tr > < td class = "memTemplItemLeft" align = "right" valign = "top" > detail::tmat4x4< T >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00162.html#gaf039a9f8d24e4bf39d30b7d692c1b8c3" > ortho< / a > (T const & left, T const & right, T const & bottom, T const & top, T const & zNear, T const & zFar)< / td > < / tr >
2011-11-12 23:26:02 +00:00
< tr > < td class = "memTemplParams" colspan = "2" > template< typename T > < / td > < / tr >
2011-12-07 14:50:15 +00:00
< tr > < td class = "memTemplItemLeft" align = "right" valign = "top" > detail::tmat4x4< T >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00162.html#gac7cbb65a7853eb6db00d46125595b732" > ortho< / a > (T const & left, T const & right, T const & bottom, T const & top)< / td > < / tr >
2011-11-12 23:26:02 +00:00
< tr > < td class = "memTemplParams" colspan = "2" > template< typename T > < / td > < / tr >
2011-12-07 14:50:15 +00:00
< tr > < td class = "memTemplItemLeft" align = "right" valign = "top" > detail::tmat4x4< T >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00162.html#ga283629a5ac7fb9037795435daf22560f" > perspective< / a > (T const & fovy, T const & aspect, T const & near, T const & far)< / td > < / tr >
2011-11-12 23:26:02 +00:00
< tr > < td class = "memTemplParams" colspan = "2" > template< typename valType > < / td > < / tr >
2011-12-07 14:50:15 +00:00
< tr > < td class = "memTemplItemLeft" align = "right" valign = "top" > detail::tmat4x4< valType >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00162.html#gac2bbb4ae38c7cc549feefae5406517d7" > perspectiveFov< / a > (valType const & fov, valType const & width, valType const & height, valType const & near, valType const & far)< / td > < / tr >
2011-11-12 23:26:02 +00:00
< tr > < td class = "memTemplParams" colspan = "2" > template< typename T , typename U > < / td > < / tr >
2011-12-07 14:50:15 +00:00
< tr > < td class = "memTemplItemLeft" align = "right" valign = "top" > detail::tmat4x4< T >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00162.html#ga4e9a9a432ffd6c458b75da1553d22476" > pickMatrix< / a > (detail::tvec2< T > const & center, detail::tvec2< T > const & delta, detail::tvec4< U > const & viewport)< / td > < / tr >
2011-11-12 23:26:02 +00:00
< tr > < td class = "memTemplParams" colspan = "2" > template< typename T , typename U > < / td > < / tr >
2011-12-07 14:50:15 +00:00
< tr > < td class = "memTemplItemLeft" align = "right" valign = "top" > detail::tvec3< T >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00162.html#ga6f081067aeffc662410dfbabb25f9fdc" > project< / a > (detail::tvec3< T > const & obj, detail::tmat4x4< T > const & model, detail::tmat4x4< T > const & proj, detail::tvec4< U > const & viewport)< / td > < / tr >
2011-11-12 23:26:02 +00:00
< tr > < td class = "memTemplParams" colspan = "2" > template< typename T > < / td > < / tr >
2011-12-07 14:50:15 +00:00
< tr > < td class = "memTemplItemLeft" align = "right" valign = "top" > detail::tmat4x4< T >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00162.html#gaacb9cbe8f93a8fef9dc3e25559df19c0" > rotate< / a > (detail::tmat4x4< T > const & m, T const & angle, detail::tvec3< T > const & axis)< / td > < / tr >
2011-11-12 23:26:02 +00:00
< tr > < td class = "memTemplParams" colspan = "2" > template< typename T > < / td > < / tr >
2011-12-07 14:50:15 +00:00
< tr > < td class = "memTemplItemLeft" align = "right" valign = "top" > detail::tmat4x4< T >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00162.html#ga223e08009f1cab54651200b81e91981c" > scale< / a > (detail::tmat4x4< T > const & m, detail::tvec3< T > const & v)< / td > < / tr >
2011-11-12 23:26:02 +00:00
< tr > < td class = "memTemplParams" colspan = "2" > template< typename T > < / td > < / tr >
2011-12-07 14:50:15 +00:00
< tr > < td class = "memTemplItemLeft" align = "right" valign = "top" > detail::tmat4x4< T >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00162.html#ga8925161ecc1767957900c5ca8b922dc4" > translate< / a > (detail::tmat4x4< T > const & m, detail::tvec3< T > const & v)< / td > < / tr >
2011-11-12 23:26:02 +00:00
< tr > < td class = "memTemplParams" colspan = "2" > template< typename T > < / td > < / tr >
2011-12-07 14:50:15 +00:00
< tr > < td class = "memTemplItemLeft" align = "right" valign = "top" > detail::tmat4x4< T >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00162.html#ga42299b3ef778f1d6120032da73b0ef87" > tweakedInfinitePerspective< / a > (T fovy, T aspect, T near)< / td > < / tr >
2011-11-12 23:26:02 +00:00
< tr > < td class = "memTemplParams" colspan = "2" > template< typename T , typename U > < / td > < / tr >
2011-12-07 14:50:15 +00:00
< tr > < td class = "memTemplItemLeft" align = "right" valign = "top" > detail::tvec3< T >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00162.html#ga540d5f6bb3f41e5dfa38d6ebd8771765" > unProject< / a > (detail::tvec3< T > const & win, detail::tmat4x4< T > const & model, detail::tmat4x4< T > const & proj, detail::tvec4< U > const & viewport)< / td > < / tr >
2011-11-12 23:26:02 +00:00
< / table >
2011-12-07 14:50:15 +00:00
< hr / > < a name = "details" id = "details" > < / a > < h2 > Detailed Description< / h2 >
2011-11-12 23:26:02 +00:00
< p > Defines functions that generate common transformation matrices. < / p >
< p > The matrices generated by this extension use standard OpenGL fixed-function conventions. For example, the lookAt function generates a transform from world space into the specific eye space that the projective matrix functions (perspective, ortho, etc) are designed to expect. The OpenGL compatibility specifications defines the particular layout of this eye space.< / p >
< p > < < a class = "el" href = "a00075.html" title = "OpenGL Mathematics (glm.g-truc.net)" > glm/gtc/matrix_transform.hpp< / a > > need to be included to use these functionalities. < / p >
< hr / > < h2 > Function Documentation< / h2 >
2011-12-07 14:50:15 +00:00
< a class = "anchor" id = "ga2a5b0a83f78884d9cf3cc1ba99131299" > < / a > <!-- doxytag: member="glm::frustum" ref="ga2a5b0a83f78884d9cf3cc1ba99131299" args="(T const &left, T const &right, T const &bottom, T const &top, T const &near, T const &far)" -->
2011-11-12 23:26:02 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > detail::tmat4x4< T> glm::frustum < / td >
< td > (< / td >
< td class = "paramtype" > T const &   < / td >
< td class = "paramname" > < em > left< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > T const &   < / td >
< td class = "paramname" > < em > right< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > T const &   < / td >
< td class = "paramname" > < em > bottom< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > T const &   < / td >
< td class = "paramname" > < em > top< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > T const &   < / td >
< td class = "paramname" > < em > near< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > T const &   < / td >
< td class = "paramname" > < em > far< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< p > Creates a frustum matrix. < / p >
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > left< / td > < td > < / td > < / tr >
< tr > < td class = "paramname" > right< / td > < td > < / td > < / tr >
< tr > < td class = "paramname" > bottom< / td > < td > < / td > < / tr >
< tr > < td class = "paramname" > top< / td > < td > < / td > < / tr >
< tr > < td class = "paramname" > near< / td > < td > < / td > < / tr >
< tr > < td class = "paramname" > far< / td > < td > < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl > < dt > < b > Template Parameters:< / b > < / dt > < dd >
< table class = "" >
< tr > < td class = "paramname" > T< / td > < td > Value type used to build the matrix. Currently supported: half (not recommanded), float or double. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "see" > < dt > < b > See also:< / b > < / dt > < dd > < a class = "el" href = "a00162.html" title = "Defines functions that generate common transformation matrices." > GLM_GTC_matrix_transform: Matrix transform functions< / a > < / dd > < / dl >
< / div >
< / div >
2011-12-07 14:50:15 +00:00
< a class = "anchor" id = "ga414f3cfe1af5619acebd5c28cf6bd45c" > < / a > <!-- doxytag: member="glm::infinitePerspective" ref="ga414f3cfe1af5619acebd5c28cf6bd45c" args="(T fovy, T aspect, T near)" -->
2011-11-12 23:26:02 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > detail::tmat4x4< T> glm::infinitePerspective < / td >
< td > (< / td >
< td class = "paramtype" > T  < / td >
< td class = "paramname" > < em > fovy< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > T  < / td >
< td class = "paramname" > < em > aspect< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > T  < / td >
< td class = "paramname" > < em > near< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< p > Creates a matrix for a symmetric perspective-view frustum with far plane at infinite. < / p >
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > fovy< / td > < td > < / td > < / tr >
< tr > < td class = "paramname" > aspect< / td > < td > < / td > < / tr >
< tr > < td class = "paramname" > near< / td > < td > < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl > < dt > < b > Template Parameters:< / b > < / dt > < dd >
< table class = "" >
< tr > < td class = "paramname" > T< / td > < td > Value type used to build the matrix. Currently supported: half (not recommanded), float or double. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "see" > < dt > < b > See also:< / b > < / dt > < dd > < a class = "el" href = "a00162.html" title = "Defines functions that generate common transformation matrices." > GLM_GTC_matrix_transform: Matrix transform functions< / a > < / dd > < / dl >
< / div >
< / div >
2011-12-07 14:50:15 +00:00
< a class = "anchor" id = "gae2dca3785b6d5796e876114af58a60a1" > < / a > <!-- doxytag: member="glm::lookAt" ref="gae2dca3785b6d5796e876114af58a60a1" args="(detail::tvec3< T > const &eye, detail::tvec3< T > const &center, detail::tvec3< T > const &up)" -->
2011-11-12 23:26:02 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > detail::tmat4x4< T> glm::lookAt < / td >
< td > (< / td >
< td class = "paramtype" > detail::tvec3< T > const &   < / td >
< td class = "paramname" > < em > eye< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > detail::tvec3< T > const &   < / td >
< td class = "paramname" > < em > center< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > detail::tvec3< T > const &   < / td >
< td class = "paramname" > < em > up< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< p > Build a look at view matrix. < / p >
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > eye< / td > < td > Position of the camera < / td > < / tr >
< tr > < td class = "paramname" > center< / td > < td > Position where the camera is looking at < / td > < / tr >
< tr > < td class = "paramname" > up< / td > < td > Normalized up vector, how the camera is oriented. Typically (0, 0, 1) < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "see" > < dt > < b > See also:< / b > < / dt > < dd > < a class = "el" href = "a00162.html" title = "Defines functions that generate common transformation matrices." > GLM_GTC_matrix_transform: Matrix transform functions< / a > < / dd >
< dd >
- frustum(T const & left, T const & right, T const & bottom, T const & top, T const & nearVal, T const & farVal) frustum(T const & left, T const & right, T const & bottom, T const & top, T const & nearVal, T const & farVal) < / dd > < / dl >
< / div >
< / div >
2011-12-07 14:50:15 +00:00
< a class = "anchor" id = "gaf039a9f8d24e4bf39d30b7d692c1b8c3" > < / a > <!-- doxytag: member="glm::ortho" ref="gaf039a9f8d24e4bf39d30b7d692c1b8c3" args="(T const &left, T const &right, T const &bottom, T const &top, T const &zNear, T const &zFar)" -->
2011-11-12 23:26:02 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > detail::tmat4x4< T> glm::ortho < / td >
< td > (< / td >
< td class = "paramtype" > T const &   < / td >
< td class = "paramname" > < em > left< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > T const &   < / td >
< td class = "paramname" > < em > right< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > T const &   < / td >
< td class = "paramname" > < em > bottom< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > T const &   < / td >
2011-12-07 14:50:15 +00:00
< td class = "paramname" > < em > top< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > T const &   < / td >
< td class = "paramname" > < em > zNear< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > T const &   < / td >
< td class = "paramname" > < em > zFar< / em >   < / td >
2011-11-12 23:26:02 +00:00
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
2011-12-07 14:50:15 +00:00
< p > Creates a matrix for an orthographic parallel viewing volume. < / p >
2011-11-12 23:26:02 +00:00
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > left< / td > < td > < / td > < / tr >
< tr > < td class = "paramname" > right< / td > < td > < / td > < / tr >
< tr > < td class = "paramname" > bottom< / td > < td > < / td > < / tr >
< tr > < td class = "paramname" > top< / td > < td > < / td > < / tr >
2011-12-07 14:50:15 +00:00
< tr > < td class = "paramname" > zNear< / td > < td > < / td > < / tr >
< tr > < td class = "paramname" > zFar< / td > < td > < / td > < / tr >
2011-11-12 23:26:02 +00:00
< / table >
< / dd >
< / dl >
< dl > < dt > < b > Template Parameters:< / b > < / dt > < dd >
< table class = "" >
< tr > < td class = "paramname" > T< / td > < td > Value type used to build the matrix. Currently supported: half (not recommanded), float or double. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "see" > < dt > < b > See also:< / b > < / dt > < dd > < a class = "el" href = "a00162.html" title = "Defines functions that generate common transformation matrices." > GLM_GTC_matrix_transform: Matrix transform functions< / a > < / dd >
< dd >
2011-12-07 14:50:15 +00:00
- glm::ortho(T const & left, T const & right, T const & bottom, T const & top) < / dd > < / dl >
2011-11-12 23:26:02 +00:00
< / div >
< / div >
2011-12-07 14:50:15 +00:00
< a class = "anchor" id = "gac7cbb65a7853eb6db00d46125595b732" > < / a > <!-- doxytag: member="glm::ortho" ref="gac7cbb65a7853eb6db00d46125595b732" args="(T const &left, T const &right, T const &bottom, T const &top)" -->
2011-11-12 23:26:02 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > detail::tmat4x4< T> glm::ortho < / td >
< td > (< / td >
< td class = "paramtype" > T const &   < / td >
< td class = "paramname" > < em > left< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > T const &   < / td >
< td class = "paramname" > < em > right< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > T const &   < / td >
< td class = "paramname" > < em > bottom< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > T const &   < / td >
2011-12-07 14:50:15 +00:00
< td class = "paramname" > < em > top< / em >   < / td >
2011-11-12 23:26:02 +00:00
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
2011-12-07 14:50:15 +00:00
< p > Creates a matrix for projecting two-dimensional coordinates onto the screen. < / p >
2011-11-12 23:26:02 +00:00
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > left< / td > < td > < / td > < / tr >
< tr > < td class = "paramname" > right< / td > < td > < / td > < / tr >
< tr > < td class = "paramname" > bottom< / td > < td > < / td > < / tr >
< tr > < td class = "paramname" > top< / td > < td > < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl > < dt > < b > Template Parameters:< / b > < / dt > < dd >
< table class = "" >
< tr > < td class = "paramname" > T< / td > < td > Value type used to build the matrix. Currently supported: half (not recommanded), float or double. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "see" > < dt > < b > See also:< / b > < / dt > < dd > < a class = "el" href = "a00162.html" title = "Defines functions that generate common transformation matrices." > GLM_GTC_matrix_transform: Matrix transform functions< / a > < / dd >
< dd >
2011-12-07 14:50:15 +00:00
- glm::ortho(T const & left, T const & right, T const & bottom, T const & top, T const & zNear, T const & zFar) < / dd > < / dl >
2011-11-12 23:26:02 +00:00
< / div >
< / div >
2011-12-07 14:50:15 +00:00
< a class = "anchor" id = "ga283629a5ac7fb9037795435daf22560f" > < / a > <!-- doxytag: member="glm::perspective" ref="ga283629a5ac7fb9037795435daf22560f" args="(T const &fovy, T const &aspect, T const &near, T const &far)" -->
2011-11-12 23:26:02 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > detail::tmat4x4< T> glm::perspective < / td >
< td > (< / td >
< td class = "paramtype" > T const &   < / td >
< td class = "paramname" > < em > fovy< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > T const &   < / td >
< td class = "paramname" > < em > aspect< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > T const &   < / td >
< td class = "paramname" > < em > near< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > T const &   < / td >
< td class = "paramname" > < em > far< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< p > Creates a matrix for a symetric perspective-view frustum. < / p >
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > fovy< / td > < td > < / td > < / tr >
< tr > < td class = "paramname" > aspect< / td > < td > < / td > < / tr >
< tr > < td class = "paramname" > near< / td > < td > < / td > < / tr >
< tr > < td class = "paramname" > far< / td > < td > < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl > < dt > < b > Template Parameters:< / b > < / dt > < dd >
< table class = "" >
< tr > < td class = "paramname" > T< / td > < td > Value type used to build the matrix. Currently supported: half (not recommanded), float or double. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "see" > < dt > < b > See also:< / b > < / dt > < dd > < a class = "el" href = "a00162.html" title = "Defines functions that generate common transformation matrices." > GLM_GTC_matrix_transform: Matrix transform functions< / a > < / dd > < / dl >
< / div >
< / div >
2011-12-07 14:50:15 +00:00
< a class = "anchor" id = "gac2bbb4ae38c7cc549feefae5406517d7" > < / a > <!-- doxytag: member="glm::perspectiveFov" ref="gac2bbb4ae38c7cc549feefae5406517d7" args="(valType const &fov, valType const &width, valType const &height, valType const &near, valType const &far)" -->
2011-11-12 23:26:02 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > detail::tmat4x4< valType> glm::perspectiveFov < / td >
< td > (< / td >
< td class = "paramtype" > valType const &   < / td >
< td class = "paramname" > < em > fov< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > valType const &   < / td >
< td class = "paramname" > < em > width< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > valType const &   < / td >
< td class = "paramname" > < em > height< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > valType const &   < / td >
< td class = "paramname" > < em > near< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > valType const &   < / td >
< td class = "paramname" > < em > far< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< p > Builds a perspective projection matrix based on a field of view. < / p >
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > fov< / td > < td > < / td > < / tr >
< tr > < td class = "paramname" > width< / td > < td > < / td > < / tr >
< tr > < td class = "paramname" > height< / td > < td > < / td > < / tr >
< tr > < td class = "paramname" > near< / td > < td > < / td > < / tr >
< tr > < td class = "paramname" > far< / td > < td > < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl > < dt > < b > Template Parameters:< / b > < / dt > < dd >
< table class = "" >
< tr > < td class = "paramname" > T< / td > < td > Value type used to build the matrix. Currently supported: half (not recommanded), float or double. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "see" > < dt > < b > See also:< / b > < / dt > < dd > < a class = "el" href = "a00162.html" title = "Defines functions that generate common transformation matrices." > GLM_GTC_matrix_transform: Matrix transform functions< / a > < / dd > < / dl >
< / div >
< / div >
2011-12-07 14:50:15 +00:00
< a class = "anchor" id = "ga4e9a9a432ffd6c458b75da1553d22476" > < / a > <!-- doxytag: member="glm::pickMatrix" ref="ga4e9a9a432ffd6c458b75da1553d22476" args="(detail::tvec2< T > const &center, detail::tvec2< T > const &delta, detail::tvec4< U > const &viewport)" -->
2011-11-12 23:26:02 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > detail::tmat4x4< T> glm::pickMatrix < / td >
< td > (< / td >
< td class = "paramtype" > detail::tvec2< T > const &   < / td >
< td class = "paramname" > < em > center< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > detail::tvec2< T > const &   < / td >
< td class = "paramname" > < em > delta< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > detail::tvec4< U > const &   < / td >
< td class = "paramname" > < em > viewport< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< p > Define a picking region. < / p >
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > center< / td > < td > < / td > < / tr >
< tr > < td class = "paramname" > delta< / td > < td > < / td > < / tr >
< tr > < td class = "paramname" > viewport< / td > < td > < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl > < dt > < b > Template Parameters:< / b > < / dt > < dd >
< table class = "" >
< tr > < td class = "paramname" > T< / td > < td > Native type used for the computation. Currently supported: half (not recommanded), float or double. < / td > < / tr >
< tr > < td class = "paramname" > U< / td > < td > Currently supported: Floating-point types and integer types. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "see" > < dt > < b > See also:< / b > < / dt > < dd > < a class = "el" href = "a00162.html" title = "Defines functions that generate common transformation matrices." > GLM_GTC_matrix_transform: Matrix transform functions< / a > < / dd > < / dl >
< / div >
< / div >
2011-12-07 14:50:15 +00:00
< a class = "anchor" id = "ga6f081067aeffc662410dfbabb25f9fdc" > < / a > <!-- doxytag: member="glm::project" ref="ga6f081067aeffc662410dfbabb25f9fdc" args="(detail::tvec3< T > const &obj, detail::tmat4x4< T > const &model, detail::tmat4x4< T > const &proj, detail::tvec4< U > const &viewport)" -->
2011-11-12 23:26:02 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > detail::tvec3< T> glm::project < / td >
< td > (< / td >
< td class = "paramtype" > detail::tvec3< T > const &   < / td >
< td class = "paramname" > < em > obj< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > detail::tmat4x4< T > const &   < / td >
< td class = "paramname" > < em > model< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > detail::tmat4x4< T > const &   < / td >
< td class = "paramname" > < em > proj< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > detail::tvec4< U > const &   < / td >
< td class = "paramname" > < em > viewport< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< p > Map the specified object coordinates (obj.x, obj.y, obj.z) into window coordinates. < / p >
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > obj< / td > < td > < / td > < / tr >
< tr > < td class = "paramname" > model< / td > < td > < / td > < / tr >
< tr > < td class = "paramname" > proj< / td > < td > < / td > < / tr >
< tr > < td class = "paramname" > viewport< / td > < td > < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl > < dt > < b > Template Parameters:< / b > < / dt > < dd >
< table class = "" >
< tr > < td class = "paramname" > T< / td > < td > Native type used for the computation. Currently supported: half (not recommanded), float or double. < / td > < / tr >
< tr > < td class = "paramname" > U< / td > < td > Currently supported: Floating-point types and integer types. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "see" > < dt > < b > See also:< / b > < / dt > < dd > < a class = "el" href = "a00162.html" title = "Defines functions that generate common transformation matrices." > GLM_GTC_matrix_transform: Matrix transform functions< / a > < / dd > < / dl >
< / div >
< / div >
2011-12-07 14:50:15 +00:00
< a class = "anchor" id = "gaacb9cbe8f93a8fef9dc3e25559df19c0" > < / a > <!-- doxytag: member="glm::rotate" ref="gaacb9cbe8f93a8fef9dc3e25559df19c0" args="(detail::tmat4x4< T > const &m, T const &angle, detail::tvec3< T > const &axis)" -->
2011-11-12 23:26:02 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > detail::tmat4x4< T> glm::rotate < / td >
< td > (< / td >
< td class = "paramtype" > detail::tmat4x4< T > const &   < / td >
< td class = "paramname" > < em > m< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > T const &   < / td >
< td class = "paramname" > < em > angle< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > detail::tvec3< T > const &   < / td >
< td class = "paramname" > < em > axis< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< p > Builds a rotation 4 * 4 matrix created from an axis vector and an angle expressed in degrees. < / p >
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > m< / td > < td > Input matrix multiplied by this rotation matrix. < / td > < / tr >
< tr > < td class = "paramname" > angle< / td > < td > Rotation angle expressed in degrees. < / td > < / tr >
< tr > < td class = "paramname" > axis< / td > < td > Rotation axis, recommanded to be normalized. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl > < dt > < b > Template Parameters:< / b > < / dt > < dd >
< table class = "" >
< tr > < td class = "paramname" > T< / td > < td > Value type used to build the matrix. Currently supported: half (not recommanded), float or double. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "see" > < dt > < b > See also:< / b > < / dt > < dd > < a class = "el" href = "a00162.html" title = "Defines functions that generate common transformation matrices." > GLM_GTC_matrix_transform: Matrix transform functions< / a > < / dd >
< dd >
< a class = "el" href = "a00220.html" title = "Add transformation matrices." > GLM_GTX_transform: Extented transformation matrices< / a > < / dd >
< dd >
- rotate(T angle, T x, T y, T z) < / dd >
< dd >
- rotate(detail::tmat4x4< T> const & m, T angle, T x, T y, T z) < / dd >
< dd >
- rotate(T angle, detail::tvec3< T> const & v) < / dd > < / dl >
< / div >
< / div >
2011-12-07 14:50:15 +00:00
< a class = "anchor" id = "ga223e08009f1cab54651200b81e91981c" > < / a > <!-- doxytag: member="glm::scale" ref="ga223e08009f1cab54651200b81e91981c" args="(detail::tmat4x4< T > const &m, detail::tvec3< T > const &v)" -->
2011-11-12 23:26:02 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > detail::tmat4x4< T> glm::scale < / td >
< td > (< / td >
< td class = "paramtype" > detail::tmat4x4< T > const &   < / td >
< td class = "paramname" > < em > m< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > detail::tvec3< T > const &   < / td >
< td class = "paramname" > < em > v< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< p > Builds a scale 4 * 4 matrix created from 3 scalars. < / p >
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > m< / td > < td > Input matrix multiplied by this scale matrix. < / td > < / tr >
< tr > < td class = "paramname" > v< / td > < td > Ratio of scaling for each axis. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl > < dt > < b > Template Parameters:< / b > < / dt > < dd >
< table class = "" >
< tr > < td class = "paramname" > T< / td > < td > Value type used to build the matrix. Currently supported: half (not recommanded), float or double. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "see" > < dt > < b > See also:< / b > < / dt > < dd > < a class = "el" href = "a00162.html" title = "Defines functions that generate common transformation matrices." > GLM_GTC_matrix_transform: Matrix transform functions< / a > < / dd >
< dd >
< a class = "el" href = "a00220.html" title = "Add transformation matrices." > GLM_GTX_transform: Extented transformation matrices< / a > < / dd >
< dd >
- scale(T x, T y, T z) scale(T const & x, T const & y, T const & z) < / dd >
< dd >
- scale(detail::tmat4x4< T> const & m, T x, T y, T z) < / dd >
< dd >
- scale(detail::tvec3< T> const & v) < / dd > < / dl >
< / div >
< / div >
2011-12-07 14:50:15 +00:00
< a class = "anchor" id = "ga8925161ecc1767957900c5ca8b922dc4" > < / a > <!-- doxytag: member="glm::translate" ref="ga8925161ecc1767957900c5ca8b922dc4" args="(detail::tmat4x4< T > const &m, detail::tvec3< T > const &v)" -->
2011-11-12 23:26:02 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > detail::tmat4x4< T> glm::translate < / td >
< td > (< / td >
< td class = "paramtype" > detail::tmat4x4< T > const &   < / td >
< td class = "paramname" > < em > m< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > detail::tvec3< T > const &   < / td >
< td class = "paramname" > < em > v< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< p > Builds a translation 4 * 4 matrix created from a vector of 3 components. < / p >
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > m< / td > < td > Input matrix multiplied by this translation matrix. < / td > < / tr >
< tr > < td class = "paramname" > v< / td > < td > Coordinates of a translation vector. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl > < dt > < b > Template Parameters:< / b > < / dt > < dd >
< table class = "" >
2011-12-07 14:50:15 +00:00
< tr > < td class = "paramname" > T< / td > < td > Value type used to build the matrix. Currently supported: half (not recommanded), float or double. < div class = "fragment" > < pre class = "fragment" > < span class = "preprocessor" > #include < < a class = "code" href = "a00050.html" title = "OpenGL Mathematics (glm.g-truc.net)" > glm/glm.hpp< / a > > < / span >
2011-11-12 23:26:02 +00:00
< span class = "preprocessor" > #include < < a class = "code" href = "a00075.html" title = "OpenGL Mathematics (glm.g-truc.net)" > glm/gtc/matrix_transform.hpp< / a > > < / span >
...
2011-12-07 14:50:15 +00:00
glm< a class = "code" href = "a00155.html#gade0eb47c01f79384a6f38017ede17446" title = "4 columns of 4 components matrix of floating-point numbers." > ::mat4< / a > m = < a class = "code" href = "a00162.html#ga8925161ecc1767957900c5ca8b922dc4" title = "Builds a translation 4 * 4 matrix created from a vector of 3 components." > glm::translate< / a > (< a class = "code" href = "a00014.html" title = "Template for 4 * 4 matrix of floating-point numbers." > glm::mat4< / a > (1.0f), < a class = "code" href = "a00017.html" title = "Basic 3D vector type." > glm::vec3< / a > (1.0f));
2011-11-12 23:26:02 +00:00
< span class = "comment" > // m[0][0] == 1.0f, m[0][1] == 0.0f, m[0][2] == 0.0f, m[0][3] == 0.0f< / span >
< span class = "comment" > // m[1][0] == 0.0f, m[1][1] == 1.0f, m[1][2] == 0.0f, m[1][3] == 0.0f< / span >
< span class = "comment" > // m[2][0] == 0.0f, m[2][1] == 0.0f, m[2][2] == 1.0f, m[2][3] == 0.0f< / span >
< span class = "comment" > // m[3][0] == 1.0f, m[3][1] == 1.0f, m[3][2] == 1.0f, m[3][3] == 1.0f< / span >
< / pre > < / div > < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "see" > < dt > < b > See also:< / b > < / dt > < dd > < a class = "el" href = "a00162.html" title = "Defines functions that generate common transformation matrices." > GLM_GTC_matrix_transform: Matrix transform functions< / a > < / dd >
< dd >
< a class = "el" href = "a00220.html" title = "Add transformation matrices." > GLM_GTX_transform: Extented transformation matrices< / a > < / dd >
< dd >
- translate(T x, T y, T z) < / dd >
< dd >
- translate(detail::tmat4x4< T> const & m, T x, T y, T z) < / dd >
< dd >
- translate(detail::tvec3< T> const & v) < / dd > < / dl >
< / div >
< / div >
2011-12-07 14:50:15 +00:00
< a class = "anchor" id = "ga42299b3ef778f1d6120032da73b0ef87" > < / a > <!-- doxytag: member="glm::tweakedInfinitePerspective" ref="ga42299b3ef778f1d6120032da73b0ef87" args="(T fovy, T aspect, T near)" -->
2011-11-12 23:26:02 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > detail::tmat4x4< T> glm::tweakedInfinitePerspective < / td >
< td > (< / td >
< td class = "paramtype" > T  < / td >
< td class = "paramname" > < em > fovy< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > T  < / td >
< td class = "paramname" > < em > aspect< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > T  < / td >
< td class = "paramname" > < em > near< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< p > Creates a matrix for a symmetric perspective-view frustum with far plane at infinite for graphics hardware that doesn't support depth clamping. < / p >
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > fovy< / td > < td > < / td > < / tr >
< tr > < td class = "paramname" > aspect< / td > < td > < / td > < / tr >
< tr > < td class = "paramname" > near< / td > < td > < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl > < dt > < b > Template Parameters:< / b > < / dt > < dd >
< table class = "" >
< tr > < td class = "paramname" > T< / td > < td > Value type used to build the matrix. Currently supported: half (not recommanded), float or double. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "see" > < dt > < b > See also:< / b > < / dt > < dd > < a class = "el" href = "a00162.html" title = "Defines functions that generate common transformation matrices." > GLM_GTC_matrix_transform: Matrix transform functions< / a > < / dd > < / dl >
< / div >
< / div >
2011-12-07 14:50:15 +00:00
< a class = "anchor" id = "ga540d5f6bb3f41e5dfa38d6ebd8771765" > < / a > <!-- doxytag: member="glm::unProject" ref="ga540d5f6bb3f41e5dfa38d6ebd8771765" args="(detail::tvec3< T > const &win, detail::tmat4x4< T > const &model, detail::tmat4x4< T > const &proj, detail::tvec4< U > const &viewport)" -->
2011-11-12 23:26:02 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > detail::tvec3< T> glm::unProject < / td >
< td > (< / td >
< td class = "paramtype" > detail::tvec3< T > const &   < / td >
< td class = "paramname" > < em > win< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > detail::tmat4x4< T > const &   < / td >
< td class = "paramname" > < em > model< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > detail::tmat4x4< T > const &   < / td >
< td class = "paramname" > < em > proj< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > detail::tvec4< U > const &   < / td >
< td class = "paramname" > < em > viewport< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
< p > Map the specified window coordinates (win.x, win.y, win.z) into object coordinates. < / p >
< dl > < dt > < b > Parameters:< / b > < / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > win< / td > < td > < / td > < / tr >
< tr > < td class = "paramname" > model< / td > < td > < / td > < / tr >
< tr > < td class = "paramname" > proj< / td > < td > < / td > < / tr >
< tr > < td class = "paramname" > viewport< / td > < td > < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl > < dt > < b > Template Parameters:< / b > < / dt > < dd >
< table class = "" >
< tr > < td class = "paramname" > T< / td > < td > Native type used for the computation. Currently supported: half (not recommanded), float or double. < / td > < / tr >
< tr > < td class = "paramname" > U< / td > < td > Currently supported: Floating-point types and integer types. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "see" > < dt > < b > See also:< / b > < / dt > < dd > < a class = "el" href = "a00162.html" title = "Defines functions that generate common transformation matrices." > GLM_GTC_matrix_transform: Matrix transform functions< / a > < / dd > < / dl >
< / div >
< / div >
< / div >
2011-12-07 14:50:15 +00:00
< hr class = "footer" / > < address class = "footer" > < small >
Generated by   < a href = "http://www.doxygen.org/index.html" >
< img class = "footer" src = "doxygen.png" alt = "doxygen" / >
< / a > 1.7.5
< / small > < / address >
2011-11-12 23:26:02 +00:00
< / body >
< / html >