- Main Page
- Namespaces
- Files

- File List

# vector_angle.hpp

    00001
    00002 // OpenGL Mathematics Copyright (c) 2005 - 2010 G-Truc Creation (www.g-truc.net)
    00004 // Created : 2005-12-30
    00005 // Updated : 2006-11-13
    00006 // Licence : This source is under MIT License
    00007 // File    : glm/gtx/vector_angle.hpp
    00009 // Dependency:
    00010 // - GLM core
    00011 // - GLM_GTX_quaternion
    00012 // - GLM_GTX_epsilon
    00014
    00015 #ifndef glm_gtx_vector_angle
    00016 #define glm_gtx_vector_angle
    00017
    00018 // Dependency:
    00019 #include "../glm.hpp"
    00020 #include "../gtx/quaternion.hpp"
    00021 #include "../gtx/epsilon.hpp"
    00022
    00023 namespace glm
    00024 {
    00025         namespace test{
    00026                 void main_gtx_vector_angle();
    00027         }//namespace test
    00028
    00029     namespace gtx{
    00031     namespace vector_angle
    00032     {
    00033                 using namespace quaternion;
    00034                 using namespace epsilon;
    00035
    00039                 template <typename vecType>
    00040                 typename vecType::value_type angle(
    00041                         vecType const & x,
    00042                         vecType const & y);
    00043
    00047                 template <typename vecType>
    00048                 typename vecType::value_type orientedAngle(
    00049                         vecType const & x,
    00050                         vecType const & y);
    00051
    00055                 template <typename vecType>
    00056                 typename vecType::value_type orientedAngleFromRef(
    00057                         vecType const & x,
    00058                         vecType const & y,
    00059                         detail::tvec3<typename vecType::value_type> const & ref);
    00060     }//namespace vector_angle
    00061     }//namespace gtx
    00062 }//namespace glm
    00063
    00064 #include "vector_angle.inl"
    00065
    00066 namespace glm{using namespace gtx::vector_angle;}
    00067
    00068 #endif//glm_gtx_vector_angle