# GLM: unsigned_int.hpp Source File

- Main Page
- Namespaces
- Files

- File List

# unsigned_int.hpp

    00001
    00002 // OpenGL Mathematics Copyright (c) 2005 - 2009 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.h
    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 namespace glm
    00022 {
    00023         namespace test{
    00024                 void main_gtx_unsigned_int();
    00025         }//namespace test
    00026
    00027         namespace gtx{
    00029         namespace unsigned_int
    00030         {
    00033                 typedef signed int                                      sint;
    00034
    00037                 uint pow(uint x, uint y);
    00038
    00041                 uint sqrt(uint x);
    00042
    00045                 uint mod(uint x, uint y);
    00046
    00047         }//namespace unsigned_int
    00048         }//namespace gtx
    00049 }//namespace glm
    00050
    00051 #define GLM_GTX_unsigned_int namespace gtx::unsigned_int; using namespace gtx::integer
    00052 #ifndef GLM_GTX_GLOBAL
    00053 namespace glm {using GLM_GTX_unsigned_int;}
    00054 #endif//GLM_GTX_GLOBAL
    00055
    00056 #include "unsigned_int.inl"
    00057
    00058 #endif//glm_gtx_unsigned_int