# GLM: double_float.hpp Source File

- Main Page
- Namespaces
- Files

- File List

# double_float.hpp

    00001
    00002 // OpenGL Mathematics Copyright (c) 2005 - 2009 G-Truc Creation (www.g-truc.net)
    00004 // Created : 2009-04-29
    00005 // Updated : 2009-04-29
    00006 // Licence : This source is under MIT License
    00007 // File    : glm/gtc/double_float.hpp
    00009 // Dependency:
    00010 // - GLM core
    00012 // Note:
    00013 // - This implementation doesn't need to redefine all build-in functions to
    00014 // support double based type.
    00016
    00017 #ifndef glm_gtc_double_float
    00018 #define glm_gtc_double_float
    00019
    00020 // Dependency:
    00021 #include "../glm.hpp"
    00022
    00023 namespace glm
    00024 {
    00025         namespace test{
    00026                 bool main_gtc_double_float();
    00027         }//namespace test
    00028
    00029         namespace gtc{
    00031         namespace double_float
    00032         {
    00035                 typedef detail::tvec2<float>    fvec2;
    00036
    00039                 typedef detail::tvec3<float>    fvec3;
    00040
    00043                 typedef detail::tvec4<float>    fvec4;
    00044
    00047                 typedef detail::tmat2x2<float>  fmat2;
    00048
    00051                 typedef detail::tmat3x3<float>  fmat3;
    00052
    00055                 typedef detail::tmat4x4<float>  fmat4;
    00056
    00059                 typedef detail::tvec2<double>   dvec2;
    00060
    00063                 typedef detail::tvec3<double>   dvec3;
    00064
    00067                 typedef detail::tvec4<double>   dvec4;
    00068
    00071                 typedef detail::tmat2x2<double> dmat2;
    00072
    00075                 typedef detail::tmat3x3<double> dmat3;
    00076
    00079                 typedef detail::tmat4x4<double> dmat4;
    00080
    00081         }//namespace double_float
    00082         }//namespace gtc
    00083 }//namespace glm
    00084
    00085 #define GLM_GTC_double_float namespace gtc::double_float
    00086 #ifndef GLM_GTC_GLOBAL
    00087 namespace glm {using GLM_GTC_double_float;}
    00088 #endif//GLM_GTC_GLOBAL
    00089
    00090 #include "double_float.inl"
    00091
    00092 #endif//glm_gtc_double_float