mirror of
https://github.com/g-truc/glm.git
synced 2024-11-29 19:34:36 +00:00
89 lines
9.7 KiB
HTML
89 lines
9.7 KiB
HTML
|
<!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"/>
|
||
|
<title>GLM: gl.hpp Source File</title>
|
||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||
|
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
|
||
|
</head>
|
||
|
<body>
|
||
|
<!-- Generated by Doxygen 1.6.1 -->
|
||
|
<div class="navigation" id="top">
|
||
|
<div class="tabs">
|
||
|
<ul>
|
||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||
|
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="tabs">
|
||
|
<ul>
|
||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<h1>gl.hpp</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef GLM_EXT_VIRTREV_GL_HPP</span>
|
||
|
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define GLM_EXT_VIRTREV_GL_HPP</span>
|
||
|
<a name="l00003"></a>00003 <span class="preprocessor"></span>
|
||
|
<a name="l00005"></a>00005 <span class="comment">// OpenGL Mathematics Copyright (c) 2005 - 2009 G-Truc Creation (www.g-truc.net)</span>
|
||
|
<a name="l00006"></a>00006 <span class="comment">// Virtrev SDK copyright matrem (matrem84.free.fr)</span>
|
||
|
<a name="l00008"></a>00008 <span class="comment"></span><span class="comment">// Created : 2008-04-24</span>
|
||
|
<a name="l00009"></a>00009 <span class="comment">// Updated : 2008-10-07</span>
|
||
|
<a name="l00010"></a>00010 <span class="comment">// Licence : This source is under MIT License</span>
|
||
|
<a name="l00011"></a>00011 <span class="comment">// File : glm/ext/virtrev/gl.h</span>
|
||
|
<a name="l00013"></a>00013 <span class="comment"></span><span class="comment">// Dependency:</span>
|
||
|
<a name="l00014"></a>00014 <span class="comment">// - GLM core</span>
|
||
|
<a name="l00015"></a>00015 <span class="comment">// - glew or glee or gl library header</span>
|
||
|
<a name="l00017"></a>00017 <span class="comment"></span>
|
||
|
<a name="l00018"></a>00018 <span class="preprocessor">#include "../glm.hpp"</span>
|
||
|
<a name="l00019"></a>00019
|
||
|
<a name="l00020"></a>00020 <span class="preprocessor">#if !defined(GLM_DEPENDENCE) || !(GLM_DEPENDENCE & (GLM_DEPENDENCE_GLEW|GLM_DEPENDENCE_GLEE|GLM_DEPENDENCE_GL))</span>
|
||
|
<a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor">#error GLM_VIRTREV_gl requires OpenGL to build. GLM_DEPENDENCE doesn't define the dependence.</span>
|
||
|
<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="preprocessor">#endif//GLM_DEPENDENCE</span>
|
||
|
<a name="l00023"></a>00023 <span class="preprocessor"></span>
|
||
|
<a name="l00024"></a>00024 <span class="keyword">namespace </span>glm
|
||
|
<a name="l00025"></a>00025 {
|
||
|
<a name="l00026"></a>00026 <span class="keyword">namespace </span>virtrev_glmext
|
||
|
<a name="l00027"></a>00027 {
|
||
|
<a name="l00029"></a><a class="code" href="a00223.html">00029</a> <span class="keyword">namespace </span>gl
|
||
|
<a name="l00030"></a>00030 {
|
||
|
<a name="l00031"></a><a class="code" href="a00223.html#ae67aa1b1275966014ae9970525b96205">00031</a> <span class="keyword">typedef</span> detail::tvec2<GLfloat> <a class="code" href="a00223.html#ae67aa1b1275966014ae9970525b96205" title="vec2 for GLfloat OpenGL type">gl_vec2</a>;
|
||
|
<a name="l00032"></a><a class="code" href="a00223.html#acae397d1f441eff9ff5f161156d3ef23">00032</a> <span class="keyword">typedef</span> detail::tvec3<GLfloat> <a class="code" href="a00223.html#acae397d1f441eff9ff5f161156d3ef23" title="vec3 for GLfloat OpenGL type">gl_vec3</a>;
|
||
|
<a name="l00033"></a><a class="code" href="a00223.html#a37e0dd64ef445d8a41455f2b40525e79">00033</a> <span class="keyword">typedef</span> detail::tvec4<GLfloat> <a class="code" href="a00223.html#a37e0dd64ef445d8a41455f2b40525e79" title="vec4 for GLfloat OpenGL type">gl_vec4</a>;
|
||
|
<a name="l00034"></a>00034
|
||
|
<a name="l00035"></a><a class="code" href="a00223.html#a21e973340b512795b459a729bd7a6281">00035</a> <span class="keyword">typedef</span> detail::tvec2<GLshort> <a class="code" href="a00223.html#a21e973340b512795b459a729bd7a6281" title="vec2 for GLshort OpenGL type">gl_svec2</a>;
|
||
|
<a name="l00036"></a><a class="code" href="a00223.html#a1a71f908f169a3975485f51a9cbea040">00036</a> <span class="keyword">typedef</span> detail::tvec3<GLshort> <a class="code" href="a00223.html#a1a71f908f169a3975485f51a9cbea040" title="vec3 for GLshort OpenGL type">gl_svec3</a>;
|
||
|
<a name="l00037"></a><a class="code" href="a00223.html#adc550d6d0fdc2a274a972e5c08d226cb">00037</a> <span class="keyword">typedef</span> detail::tvec4<GLshort> <a class="code" href="a00223.html#adc550d6d0fdc2a274a972e5c08d226cb" title="vec4 for GLshort OpenGL type">gl_svec4</a>;
|
||
|
<a name="l00038"></a>00038
|
||
|
<a name="l00039"></a><a class="code" href="a00223.html#a690b823316edbb03bd49781b4bf247bb">00039</a> <span class="keyword">typedef</span> detail::tvec2<GLint> <a class="code" href="a00223.html#a690b823316edbb03bd49781b4bf247bb" title="vec2 for GLint OpenGL type">gl_ivec2</a>;
|
||
|
<a name="l00040"></a><a class="code" href="a00223.html#a5ddcfb849d1736741a23e0d5c156b0a4">00040</a> <span class="keyword">typedef</span> detail::tvec3<GLint> <a class="code" href="a00223.html#a5ddcfb849d1736741a23e0d5c156b0a4" title="vec3 for GLint OpenGL type">gl_ivec3</a>;
|
||
|
<a name="l00041"></a><a class="code" href="a00223.html#a7c9a503f7f32eb0222cd72cef2c32a32">00041</a> <span class="keyword">typedef</span> detail::tvec4<GLint> <a class="code" href="a00223.html#a7c9a503f7f32eb0222cd72cef2c32a32" title="vec4 for GLint OpenGL type">gl_ivec4</a>;
|
||
|
<a name="l00042"></a>00042
|
||
|
<a name="l00043"></a><a class="code" href="a00223.html#a94fba08cdc518a3313fcac6924e259f6">00043</a> <span class="keyword">typedef</span> detail::tmat2x2<GLfloat> <a class="code" href="a00223.html#a94fba08cdc518a3313fcac6924e259f6" title="mat2x2 for GLfloat OpenGL type">gl_mat2</a>;
|
||
|
<a name="l00044"></a><a class="code" href="a00223.html#a2efbfcf1a895d2d4ca5d16a200e8c542">00044</a> <span class="keyword">typedef</span> detail::tmat3x3<GLfloat> <a class="code" href="a00223.html#a2efbfcf1a895d2d4ca5d16a200e8c542" title="mat3x3 for GLfloat OpenGL type">gl_mat3</a>;
|
||
|
<a name="l00045"></a><a class="code" href="a00223.html#a92a36c41bf691a74290e1999f5278d25">00045</a> <span class="keyword">typedef</span> detail::tmat4x4<GLfloat> <a class="code" href="a00223.html#a92a36c41bf691a74290e1999f5278d25" title="mat4x4 for GLfloat OpenGL type">gl_mat4</a>;
|
||
|
<a name="l00046"></a>00046
|
||
|
<a name="l00047"></a><a class="code" href="a00223.html#a90b5c21a11c06459887250bbe0b46105">00047</a> <span class="keyword">typedef</span> detail::tmat2x3<GLfloat> <a class="code" href="a00223.html#a90b5c21a11c06459887250bbe0b46105" title="mat2x3 for GLfloat OpenGL type">gl_mat2x3</a>;
|
||
|
<a name="l00048"></a><a class="code" href="a00223.html#a608c8f044ee3e369cf3ac5737e471101">00048</a> <span class="keyword">typedef</span> detail::tmat3x2<GLfloat> <a class="code" href="a00223.html#a608c8f044ee3e369cf3ac5737e471101" title="mat3x2 for GLfloat OpenGL type">gl_mat3x2</a>;
|
||
|
<a name="l00049"></a><a class="code" href="a00223.html#af34c5668c39c8f85693321655a538faa">00049</a> <span class="keyword">typedef</span> detail::tmat2x4<GLfloat> <a class="code" href="a00223.html#af34c5668c39c8f85693321655a538faa" title="mat2x4 for GLfloat OpenGL type">gl_mat2x4</a>;
|
||
|
<a name="l00050"></a><a class="code" href="a00223.html#a1e14e73d997f243e4d2d11699f1270cd">00050</a> <span class="keyword">typedef</span> detail::tmat4x2<GLfloat> <a class="code" href="a00223.html#a1e14e73d997f243e4d2d11699f1270cd" title="mat4x2 for GLfloat OpenGL type">gl_mat4x2</a>;
|
||
|
<a name="l00051"></a><a class="code" href="a00223.html#a9973dabb675f304f3cdd630e9f03149e">00051</a> <span class="keyword">typedef</span> detail::tmat3x4<GLfloat> <a class="code" href="a00223.html#a9973dabb675f304f3cdd630e9f03149e" title="mat3x4 for GLfloat OpenGL type">gl_mat3x4</a>;
|
||
|
<a name="l00052"></a><a class="code" href="a00223.html#a6f3bfbf215ebbbc602f4b3455748ef28">00052</a> <span class="keyword">typedef</span> detail::tmat4x3<GLfloat> <a class="code" href="a00223.html#a6f3bfbf215ebbbc602f4b3455748ef28" title="mat4x3 for GLfloat OpenGL type">gl_mat4x3</a>;
|
||
|
<a name="l00053"></a>00053
|
||
|
<a name="l00054"></a>00054 }
|
||
|
<a name="l00055"></a>00055 }
|
||
|
<a name="l00056"></a>00056 }
|
||
|
<a name="l00057"></a>00057
|
||
|
<a name="l00058"></a>00058 <span class="preprocessor">#define GLM_VIRTREV_gl namespace glm::virtrev_glmext::gl</span>
|
||
|
<a name="l00059"></a>00059 <span class="preprocessor"></span><span class="preprocessor">#ifndef GLM_VIRTREV_GLOBAL</span>
|
||
|
<a name="l00060"></a>00060 <span class="preprocessor"></span><span class="keyword">namespace </span>glm {<span class="keyword">using</span> GLM_VIRTREV_gl;}
|
||
|
<a name="l00061"></a>00061 <span class="preprocessor">#endif//GLM_VIRTREV_GLOBAL</span>
|
||
|
<a name="l00062"></a>00062 <span class="preprocessor"></span>
|
||
|
<a name="l00063"></a>00063 <span class="preprocessor">#endif//GLM_EXT_VIRTREV_GL_HPP</span>
|
||
|
<a name="l00064"></a>00064 <span class="preprocessor"></span>
|
||
|
</pre></div></div>
|
||
|
<hr size="1"/><address style="text-align: right;"><small>Generated on Mon Nov 16 11:23:22 2009 for GLM by
|
||
|
<a href="http://www.doxygen.org/index.html">
|
||
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
|
||
|
</body>
|
||
|
</html>
|