normalize_dot.hpp Source File

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List

# normalize_dot.hpp

    00001
    00002 // OpenGL Mathematics Copyright (c) 2005 - 2011 G-Truc Creation (www.g-truc.net)
    00004 // Created : 2007-09-28
    00005 // Updated : 2008-10-07
    00006 // Licence : This source is under MIT License
    00007 // File    : glm/gtx/normalize_dot.hpp
    00009 // Dependency:
    00010 // - GLM core
    00011 // - GLM_GTX_fast_square_root
    00013
    00014 #ifndef glm_gtx_normalize_dot
    00015 #define glm_gtx_normalize_dot
    00016
    00017 // Dependency:
    00018 #include "../glm.hpp"
    00019 #include "../gtx/fast_square_root.hpp"
    00020
    00021 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
    00022 #       pragma message("GLM: GLM_GTX_normalize_dot extension included")
    00023 #endif
    00024
    00025 namespace glm
    00026 {
    00027         namespace gtx{
    00029         namespace normalize_dot
    00030         {
    00031                 using namespace gtx::fast_square_root;
    00032
    00035
    00039                 template <typename genType>
    00040                 typename genType::value_type normalizeDot(
    00041                         genType const & x,
    00042                         genType const & y);
    00043
    00047                 template <typename genType>
    00048                 typename genType::value_type fastNormalizeDot(
    00049                         genType const & x,
    00050                         genType const & y);
    00051
    00053
    00054         }//namespace normalize_dot
    00055         }//namespace gtx
    00056 }//namespace glm
    00057
    00058 #include "normalize_dot.inl"
    00059
    00060 namespace glm{using namespace gtx::normalize_dot;}
    00061
    00062 #endif//glm_gtx_normalize_dot