parent
bcd6716592
commit
a68bb0c534
5 changed files with 11 additions and 148 deletions
@ -1,56 +0,0 @@ |
|||||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
|
||||||
// OpenGL Mathematics Copyright (c) 2005 - 2009 G-Truc Creation (www.g-truc.net)
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
|
||||||
// Created : 2005-12-21
|
|
||||||
// Updated : 2008-10-05
|
|
||||||
// Licence : This source is under MIT License
|
|
||||||
// File : glm/gtx/double_float.h
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
|
||||||
// Dependency:
|
|
||||||
// - GLM core
|
|
||||||
// - GLM_GTC_double_float
|
|
||||||
// - GLM_GTX_quaternion
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
|
||||||
// Note:
|
|
||||||
// - This implementation doesn't need to redefine all build-in functions to
|
|
||||||
// support double based type.
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
#ifndef glm_gtx_double_float |
|
||||||
#define glm_gtx_double_float |
|
||||||
|
|
||||||
// Dependency:
|
|
||||||
#include "../glm.hpp" |
|
||||||
#include "../gtc/double_float.hpp" |
|
||||||
#include "../gtx/quaternion.hpp" |
|
||||||
|
|
||||||
namespace glm |
|
||||||
{ |
|
||||||
namespace test{ |
|
||||||
void main_gtx_double_float(); |
|
||||||
}//namespace test
|
|
||||||
|
|
||||||
namespace gtx{ |
|
||||||
//! GLM_GTX_double_float extension: Add support for double precision flotting-point types
|
|
||||||
namespace double_float |
|
||||||
{ |
|
||||||
//! Quaternion of single-precision floating-point numbers.
|
|
||||||
//! From GLM_GTX_double extension.
|
|
||||||
typedef detail::tquat<float> fquat; |
|
||||||
|
|
||||||
//! Quaternion of double-precision floating-point numbers.
|
|
||||||
//! From GLM_GTX_double extension.
|
|
||||||
typedef detail::tquat<double> dquat; |
|
||||||
|
|
||||||
}//namespace double_float
|
|
||||||
}//namespace gtx
|
|
||||||
}//namespace glm
|
|
||||||
|
|
||||||
#define GLM_GTX_double_float namespace gtc::double_float; using namespace gtx::double_float |
|
||||||
#ifndef GLM_GTX_GLOBAL |
|
||||||
namespace glm {using GLM_GTX_double_float;} |
|
||||||
#endif//GLM_GTX_GLOBAL
|
|
||||||
|
|
||||||
#include "double_float.inl" |
|
||||||
|
|
||||||
#endif//glm_gtx_double_float
|
|
@ -1,13 +0,0 @@ |
|||||||
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
||||||
// OpenGL Mathematics Copyright (c) 2005 - 2009 G-Truc Creation (www.g-truc.net) |
|
||||||
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
||||||
// Created : 2009-04-29 |
|
||||||
// Updated : 2009-04-29 |
|
||||||
// Licence : This source is under MIT License |
|
||||||
// File : glm/gtc/double_float.inl |
|
||||||
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
||||||
|
|
||||||
namespace glm |
|
||||||
{ |
|
||||||
|
|
||||||
} |
|
@ -1,48 +0,0 @@ |
|||||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
|
||||||
// OpenGL Mathematics Copyright (c) 2005 - 2009 G-Truc Creation (www.g-truc.net)
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
|
||||||
// Created : 2005-12-21
|
|
||||||
// Updated : 2009-04-29
|
|
||||||
// Licence : This source is under MIT License
|
|
||||||
// File : glm/gtx/half_float.hpp
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
|
||||||
// Dependency:
|
|
||||||
// - GLM core
|
|
||||||
// - GLM_GTC_half_float
|
|
||||||
// - GLM_GTX_quaternion
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
#ifndef glm_gtx_half_float |
|
||||||
#define glm_gtx_half_float |
|
||||||
|
|
||||||
// Dependency:
|
|
||||||
#include "../glm.hpp" |
|
||||||
#include "../gtc/half_float.hpp" |
|
||||||
#include "../gtx/quaternion.hpp" |
|
||||||
|
|
||||||
namespace glm |
|
||||||
{ |
|
||||||
namespace test{ |
|
||||||
void main_ext_gtx_half_float(); |
|
||||||
}//namespace test
|
|
||||||
|
|
||||||
namespace gtx{ |
|
||||||
//! GLM_GTX_half_float extension: Add support for half precision flotting-point types
|
|
||||||
namespace half_float |
|
||||||
{ |
|
||||||
//! Quaternion of half-precision floating-point numbers.
|
|
||||||
//! From GLM_GTX_half_float extension.
|
|
||||||
typedef detail::tquat<detail::thalf> hquat; |
|
||||||
|
|
||||||
}//namespace half_float
|
|
||||||
}//namespace gtx
|
|
||||||
}//namespace glm
|
|
||||||
|
|
||||||
#define GLM_GTX_half_float namespace gtc::half_float; using namespace gtx::half_float; using namespace gtx::quaternion |
|
||||||
#ifndef GLM_GTX_GLOBAL |
|
||||||
namespace glm {using GLM_GTX_half_float;} |
|
||||||
#endif//GLM_GTX_GLOBAL
|
|
||||||
|
|
||||||
#include "half_float.inl" |
|
||||||
|
|
||||||
#endif//glm_gtx_half_float
|
|
@ -1,16 +0,0 @@ |
|||||||
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
||||||
// OpenGL Mathematics Copyright (c) 2005 - 2009 G-Truc Creation (www.g-truc.net) |
|
||||||
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
||||||
// Created : 2005-12-21 |
|
||||||
// Updated : 2008-10-02 |
|
||||||
// Licence : This source is under MIT License |
|
||||||
// File : glm/gtx/half.inl |
|
||||||
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
||||||
|
|
||||||
namespace glm{ |
|
||||||
namespace detail{ |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}//namespace detail |
|
||||||
}//namespace glm |
|
Loading…
Reference in New Issue