unsigned_int.hpp Source File

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List

# unsigned_int.hpp

    00001
    00002 // OpenGL Mathematics Copyright (c) 2005 - 2011 G-Truc Creation (www.g-truc.net)
    00004 // Created : 2005-12-24
    00005 // Updated : 2008-10-07
    00006 // Licence : This source is under MIT License
    00007 // File    : glm/gtx/unsigned_int.hpp
    00009 // Dependency:
    00010 // - GLM core
    00011 // - GLM_GTX_integer
    00013
    00014 #ifndef glm_gtx_unsigned_int
    00015 #define glm_gtx_unsigned_int
    00016
    00017 // Dependency:
    00018 #include "../glm.hpp"
    00019 #include "../gtx/integer.hpp"
    00020
    00021 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
    00022 #       pragma message("GLM: GLM_GTX_unsigned_int extension included")
    00023 #endif
    00024
    00025 namespace glm
    00026 {
    00027         namespace test{
    00028                 void main_gtx_unsigned_int();
    00029         }//namespace test
    00030
    00031         namespace gtx{
    00033         namespace unsigned_int
    00034         {
    00035                 using namespace gtx::integer;
    00036
    00039
    00042                 typedef signed int                                      sint;
    00043
    00046                 uint pow(uint x, uint y);
    00047
    00050                 uint sqrt(uint x);
    00051
    00054                 uint mod(uint x, uint y);
    00055
    00057
    00058         }//namespace unsigned_int
    00059         }//namespace gtx
    00060 }//namespace glm
    00061
    00062 #include "unsigned_int.inl"
    00063
    00064 namespace glm{using namespace gtx::unsigned_int;}
    00065
    00066 #endif//glm_gtx_unsigned_int