a00019_source.html 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <title>GLM: ext.hpp Source File</title>
  6. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  7. <link href="doxygen.css" rel="stylesheet" type="text/css"/>
  8. </head>
  9. <body>
  10. <!-- Generated by Doxygen 1.6.1 -->
  11. <div class="navigation" id="top">
  12. <div class="tabs">
  13. <ul>
  14. <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
  15. <li><a href="namespaces.html"><span>Namespaces</span></a></li>
  16. <li class="current"><a href="files.html"><span>Files</span></a></li>
  17. </ul>
  18. </div>
  19. <div class="tabs">
  20. <ul>
  21. <li><a href="files.html"><span>File&nbsp;List</span></a></li>
  22. </ul>
  23. </div>
  24. <h1>ext.hpp</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001
  25. <a name="l00002"></a>00002 <span class="comment">// OpenGL Mathematics Copyright (c) 2005 - 2009 G-Truc Creation (www.g-truc.net)</span>
  26. <a name="l00004"></a>00004 <span class="comment"></span><span class="comment">// Created : 2009-05-01</span>
  27. <a name="l00005"></a>00005 <span class="comment">// Updated : 2009-05-01</span>
  28. <a name="l00006"></a>00006 <span class="comment">// Licence : This source is under MIT License</span>
  29. <a name="l00007"></a>00007 <span class="comment">// File : glm/ext.hpp</span>
  30. <a name="l00009"></a>00009 <span class="comment"></span>
  31. <a name="l00010"></a>00010 <span class="preprocessor">#ifndef glm_ext</span>
  32. <a name="l00011"></a>00011 <span class="preprocessor"></span><span class="preprocessor">#define glm_ext</span>
  33. <a name="l00012"></a>00012 <span class="preprocessor"></span>
  34. <a name="l00013"></a>00013 <span class="preprocessor">#include &quot;glm.hpp&quot;</span>
  35. <a name="l00014"></a>00014 <span class="preprocessor">#include &quot;gtc.hpp&quot;</span>
  36. <a name="l00015"></a>00015 <span class="preprocessor">#include &quot;gtx.hpp&quot;</span>
  37. <a name="l00016"></a>00016 <span class="preprocessor">#include &quot;img.hpp&quot;</span>
  38. <a name="l00017"></a>00017
  39. <a name="l00018"></a>00018 <span class="comment">//const float goldenRatio = 1.618033988749894848f;</span>
  40. <a name="l00019"></a>00019 <span class="comment">//const float pi = 3.141592653589793238f;</span>
  41. <a name="l00020"></a>00020
  42. <a name="l00021"></a>00021 <span class="preprocessor">#if(defined(GLM_MESSAGE) &amp;&amp; (GLM_MESSAGE &amp; (GLM_MESSAGE_EXTS | GLM_MESSAGE_NOTIFICATION)))</span>
  43. <a name="l00022"></a>00022 <span class="preprocessor"></span><span class="preprocessor"># pragma message(&quot;GLM message: Extensions library included&quot;)</span>
  44. <a name="l00023"></a>00023 <span class="preprocessor"></span><span class="preprocessor">#endif//GLM_MESSAGE</span>
  45. <a name="l00024"></a>00024 <span class="preprocessor"></span>
  46. <a name="l00025"></a>00025 <span class="preprocessor">#define GLM_EXTENSION(extension) namespace glm{using extension;}</span>
  47. <a name="l00026"></a>00026 <span class="preprocessor"></span>
  48. <a name="l00027"></a>00027 <span class="preprocessor">#endif //glm_ext</span>
  49. </pre></div></div>
  50. <hr size="1"/><address style="text-align: right;"><small>Generated on Mon Nov 16 11:23:22 2009 for GLM by&nbsp;
  51. <a href="http://www.doxygen.org/index.html">
  52. <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
  53. </body>
  54. </html>