- Main Page
- Namespaces
- Files

- File List

# func_packing.hpp

    00001
    00002 // OpenGL Mathematics Copyright (c) 2005 - 2010 G-Truc Creation (www.g-truc.net)
    00004 // Created : 2010-03-17
    00005 // Updated : 2010-03-17
    00006 // Licence : This source is under MIT License
    00007 // File    : glm/core/func_packing.hpp
    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         }//namespace test
    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         }//namespace packing
    00036         }//namespace function
    00037         }//namespace core
    00038
    00039         using namespace core::function::packing;
    00040 }//namespace glm
    00041
    00042 #include "func_packing.inl"
    00043
    00044 #endif//glm_core_func_packing
    00045