mirror of
https://github.com/g-truc/glm.git
synced 2024-11-29 11:24:35 +00:00
93 lines
8.5 KiB
HTML
93 lines
8.5 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: double_float.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>double_float.hpp</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001
|
|
<a name="l00002"></a>00002 <span class="comment">// OpenGL Mathematics Copyright (c) 2005 - 2009 G-Truc Creation (www.g-truc.net)</span>
|
|
<a name="l00004"></a>00004 <span class="comment"></span><span class="comment">// Created : 2009-04-29</span>
|
|
<a name="l00005"></a>00005 <span class="comment">// Updated : 2009-04-29</span>
|
|
<a name="l00006"></a>00006 <span class="comment">// Licence : This source is under MIT License</span>
|
|
<a name="l00007"></a>00007 <span class="comment">// File : glm/gtc/double_float.hpp</span>
|
|
<a name="l00009"></a>00009 <span class="comment"></span><span class="comment">// Dependency:</span>
|
|
<a name="l00010"></a>00010 <span class="comment">// - GLM core</span>
|
|
<a name="l00012"></a>00012 <span class="comment"></span><span class="comment">// Note:</span>
|
|
<a name="l00013"></a>00013 <span class="comment">// - This implementation doesn't need to redefine all build-in functions to</span>
|
|
<a name="l00014"></a>00014 <span class="comment">// support double based type.</span>
|
|
<a name="l00016"></a>00016 <span class="comment"></span>
|
|
<a name="l00017"></a>00017 <span class="preprocessor">#ifndef glm_gtc_double_float</span>
|
|
<a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define glm_gtc_double_float</span>
|
|
<a name="l00019"></a>00019 <span class="preprocessor"></span>
|
|
<a name="l00020"></a>00020 <span class="comment">// Dependency:</span>
|
|
<a name="l00021"></a>00021 <span class="preprocessor">#include "../glm.hpp"</span>
|
|
<a name="l00022"></a>00022
|
|
<a name="l00023"></a>00023 <span class="keyword">namespace </span>glm
|
|
<a name="l00024"></a>00024 {
|
|
<a name="l00025"></a>00025 <span class="keyword">namespace </span>test{
|
|
<a name="l00026"></a>00026 <span class="keywordtype">bool</span> main_gtc_double_float();
|
|
<a name="l00027"></a>00027 }<span class="comment">//namespace test</span>
|
|
<a name="l00028"></a>00028
|
|
<a name="l00029"></a>00029 <span class="keyword">namespace </span>gtc{
|
|
<a name="l00031"></a><a class="code" href="a00143.html">00031</a> <span class="keyword">namespace </span>double_float
|
|
<a name="l00032"></a>00032 {
|
|
<a name="l00035"></a><a class="code" href="a00143.html#aeb3201411f8933fae30fe36b3fb1db90">00035</a> <span class="keyword">typedef</span> detail::tvec2<float> <a class="code" href="a00143.html#aeb3201411f8933fae30fe36b3fb1db90" title="Vector of 2 single-precision floating-point numbers.">fvec2</a>;
|
|
<a name="l00036"></a>00036
|
|
<a name="l00039"></a><a class="code" href="a00143.html#a36d8bc27da6e04285ab3b11d0af061b0">00039</a> <span class="keyword">typedef</span> detail::tvec3<float> <a class="code" href="a00143.html#a36d8bc27da6e04285ab3b11d0af061b0" title="Vector of 3 single-precision floating-point numbers.">fvec3</a>;
|
|
<a name="l00040"></a>00040
|
|
<a name="l00043"></a><a class="code" href="a00143.html#ac8e4776e86d01ed43b2dce32db2c72ba">00043</a> <span class="keyword">typedef</span> detail::tvec4<float> <a class="code" href="a00143.html#ac8e4776e86d01ed43b2dce32db2c72ba" title="Vector of 4 single-precision floating-point numbers.">fvec4</a>;
|
|
<a name="l00044"></a>00044
|
|
<a name="l00047"></a><a class="code" href="a00143.html#a0334387cf35a400be433379c623731f6">00047</a> <span class="keyword">typedef</span> detail::tmat2x2<float> <a class="code" href="a00143.html#a0334387cf35a400be433379c623731f6" title="2 * 2 matrix of single-precision floating-point numbers.">fmat2</a>;
|
|
<a name="l00048"></a>00048
|
|
<a name="l00051"></a><a class="code" href="a00143.html#ad286962fdbee4365fbacae55ac8ddd74">00051</a> <span class="keyword">typedef</span> detail::tmat3x3<float> <a class="code" href="a00143.html#ad286962fdbee4365fbacae55ac8ddd74" title="3 * 3 matrix of single-precision floating-point numbers.">fmat3</a>;
|
|
<a name="l00052"></a>00052
|
|
<a name="l00055"></a><a class="code" href="a00143.html#af88d6588163b1d1e8c407caa68259b77">00055</a> <span class="keyword">typedef</span> detail::tmat4x4<float> <a class="code" href="a00143.html#af88d6588163b1d1e8c407caa68259b77" title="4 * 4 matrix of single-precision floating-point numbers.">fmat4</a>;
|
|
<a name="l00056"></a>00056
|
|
<a name="l00059"></a><a class="code" href="a00143.html#a88bf1a60f35314a6b3f2c5adc97004cf">00059</a> <span class="keyword">typedef</span> detail::tvec2<double> <a class="code" href="a00143.html#a88bf1a60f35314a6b3f2c5adc97004cf" title="Vector of 2 double-precision floating-point numbers.">dvec2</a>;
|
|
<a name="l00060"></a>00060
|
|
<a name="l00063"></a><a class="code" href="a00143.html#a0f0fcb7b631cbbac4341badb01d84218">00063</a> <span class="keyword">typedef</span> detail::tvec3<double> <a class="code" href="a00143.html#a0f0fcb7b631cbbac4341badb01d84218" title="Vector of 3 double-precision floating-point numbers.">dvec3</a>;
|
|
<a name="l00064"></a>00064
|
|
<a name="l00067"></a><a class="code" href="a00143.html#a6f62aca8ddbdb3badf9d52885e7dcfb6">00067</a> <span class="keyword">typedef</span> detail::tvec4<double> <a class="code" href="a00143.html#a6f62aca8ddbdb3badf9d52885e7dcfb6" title="Vector of 4 double-precision floating-point numbers.">dvec4</a>;
|
|
<a name="l00068"></a>00068
|
|
<a name="l00071"></a><a class="code" href="a00143.html#ac47a6148fdae0fe40858fb357aa9e9c5">00071</a> <span class="keyword">typedef</span> detail::tmat2x2<double> <a class="code" href="a00143.html#ac47a6148fdae0fe40858fb357aa9e9c5" title="2 * 2 matrix of double-precision floating-point numbers.">dmat2</a>;
|
|
<a name="l00072"></a>00072
|
|
<a name="l00075"></a><a class="code" href="a00143.html#a92c12ba0463edf4aa5d6d0e506591cf0">00075</a> <span class="keyword">typedef</span> detail::tmat3x3<double> <a class="code" href="a00143.html#a92c12ba0463edf4aa5d6d0e506591cf0" title="3 * 3 matrix of double-precision floating-point numbers.">dmat3</a>;
|
|
<a name="l00076"></a>00076
|
|
<a name="l00079"></a><a class="code" href="a00143.html#a5db20fe7521b2e5bfa67a3131bdd0623">00079</a> <span class="keyword">typedef</span> detail::tmat4x4<double> <a class="code" href="a00143.html#a5db20fe7521b2e5bfa67a3131bdd0623" title="4 * 4 matrix of double-precision floating-point numbers.">dmat4</a>;
|
|
<a name="l00080"></a>00080
|
|
<a name="l00081"></a>00081 }<span class="comment">//namespace double_float</span>
|
|
<a name="l00082"></a>00082 }<span class="comment">//namespace gtc</span>
|
|
<a name="l00083"></a>00083 }<span class="comment">//namespace glm</span>
|
|
<a name="l00084"></a>00084
|
|
<a name="l00085"></a>00085 <span class="preprocessor">#define GLM_GTC_double_float namespace gtc::double_float</span>
|
|
<a name="l00086"></a>00086 <span class="preprocessor"></span><span class="preprocessor">#ifndef GLM_GTC_GLOBAL</span>
|
|
<a name="l00087"></a>00087 <span class="preprocessor"></span><span class="keyword">namespace </span>glm {<span class="keyword">using</span> GLM_GTC_double_float;}
|
|
<a name="l00088"></a>00088 <span class="preprocessor">#endif//GLM_GTC_GLOBAL</span>
|
|
<a name="l00089"></a>00089 <span class="preprocessor"></span>
|
|
<a name="l00090"></a>00090 <span class="preprocessor">#include "double_float.inl"</span>
|
|
<a name="l00091"></a>00091
|
|
<a name="l00092"></a>00092 <span class="preprocessor">#endif//glm_gtc_double_float</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>
|