00001
00002
00004
00005
00006
00007
00009
00010 #ifndef glm_core_func_packing
00011 #define glm_core_func_packing
00012
00013 namespace glm
00014 {
00015 namespace test{
00016 void main_core_func_packing();
00017 }
00018
00019 namespace core{
00020 namespace function{
00022 namespace packing
00023 {
00024 uint packUnorm2x16(vec2 const & v);
00025 uint packUnorm4x8(vec4 const & v);
00026 uint packSnorm4x8(vec4 const & v);
00027
00028 vec2 unpackUnorm2x16(uint const & p);
00029 vec4 unpackUnorm4x8(uint const & p);
00030 vec4 unpackSnorm4x8(uint const & p);
00031
00032 double packDouble2x32(uvec2 const & v);
00033 uvec2 unpackDouble2x32(double const & v);
00034
00035 }
00036 }
00037 }
00038
00039 using namespace core::function::packing;
00040 }
00041
00042 #include "func_packing.inl"
00043
00044 #endif//glm_core_func_packing
00045