handed_coordinate_space.hpp Source File

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List

# handed_coordinate_space.hpp

    00001
    00002 // OpenGL Mathematics Copyright (c) 2005 - 2011 G-Truc Creation (www.g-truc.net)
    00004 // Created : 2005-12-21
    00005 // Updated : 2009-02-19
    00006 // Licence : This source is under MIT License
    00007 // File    : glm/gtx/handed_coordinate_space.hpp
    00009 // Dependency:
    00010 // - GLM core
    00012
    00013 #ifndef glm_gtx_handed_coordinate_space
    00014 #define glm_gtx_handed_coordinate_space
    00015
    00016 // Dependency:
    00017 #include "../glm.hpp"
    00018
    00019 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
    00020 #       pragma message("GLM: GLM_GTX_handed_coordinate_space extension included")
    00021 #endif
    00022
    00023 namespace glm
    00024 {
    00025         namespace gtx{
    00027         namespace handed_coordinate_space
    00028         {
    00031
    00034                 template <typename T>
    00035                 bool rightHanded(
    00036                         detail::tvec3<T> const & tangent,
    00037                         detail::tvec3<T> const & binormal,
    00038                         detail::tvec3<T> const & normal);
    00039
    00042                 template <typename T>
    00043                 bool leftHanded(
    00044                         detail::tvec3<T> const & tangent,
    00045                         detail::tvec3<T> const & binormal,
    00046                         detail::tvec3<T> const & normal);
    00047
    00049
    00050         }//namespace handed_coordinate_space
    00051         }//namespace gtx
    00052 }//namespace glm
    00053
    00054 #include "handed_coordinate_space.inl"
    00055
    00056 namespace glm{using namespace gtx::handed_coordinate_space;}
    00057
    00058 #endif//glm_gtx_handed_coordinate_space