parent
2aba768990
commit
da085b4287
68 changed files with 246 additions and 96 deletions
@ -1,80 +0,0 @@ |
|||||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
|
||||||
// OpenGL Mathematics Copyright (c) 2005 - 2010 G-Truc Creation (www.g-truc.net)
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
|
||||||
// Created : 2008-06-22
|
|
||||||
// Updated : 2008-10-27
|
|
||||||
// Licence : This source is under MIT License
|
|
||||||
// File : glm/gtx/comparison.hpp
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
|
||||||
// Dependency:
|
|
||||||
// - GLM core
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
#ifndef glm_gtx_comparison |
|
||||||
#define glm_gtx_comparison |
|
||||||
|
|
||||||
// Dependency:
|
|
||||||
#include "../glm.hpp" |
|
||||||
|
|
||||||
namespace glm |
|
||||||
{ |
|
||||||
namespace test{ |
|
||||||
void main_gtx_comparison(); |
|
||||||
}//namespace test
|
|
||||||
|
|
||||||
namespace gtx{ |
|
||||||
//! GLM_GTX_comparison extension: Defined comparison operators for vectors.
|
|
||||||
namespace comparison |
|
||||||
{ |
|
||||||
/*
|
|
||||||
//! Define == operator for vectors
|
|
||||||
//! From GLM_GTX_comparison extension.
|
|
||||||
template <typename T> |
|
||||||
bool operator== ( |
|
||||||
detail::tvec2<T> const & x,
|
|
||||||
detail::tvec2<T> const & y); |
|
||||||
|
|
||||||
//! Define == operator for vectors
|
|
||||||
//! From GLM_GTX_comparison extension.
|
|
||||||
template <typename T> |
|
||||||
bool operator== ( |
|
||||||
detail::tvec3<T> const & x,
|
|
||||||
detail::tvec3<T> const & y); |
|
||||||
|
|
||||||
//! Define == operator for vectors
|
|
||||||
//! From GLM_GTX_comparison extension.
|
|
||||||
template <typename T> |
|
||||||
bool operator== ( |
|
||||||
detail::tvec4<T> const & x,
|
|
||||||
detail::tvec4<T> const & y); |
|
||||||
|
|
||||||
//! Define != operator for vectors
|
|
||||||
//! From GLM_GTX_comparison extension.
|
|
||||||
template <typename T> |
|
||||||
bool operator!= ( |
|
||||||
detail::tvec2<T> const & x,
|
|
||||||
detail::tvec2<T> const & y); |
|
||||||
|
|
||||||
//! Define != operator for vectors
|
|
||||||
//! From GLM_GTX_comparison extension.
|
|
||||||
template <typename T> |
|
||||||
bool operator!= ( |
|
||||||
detail::tvec3<T> const & x,
|
|
||||||
detail::tvec3<T> const & y); |
|
||||||
|
|
||||||
//! Define != operator for vectors
|
|
||||||
//! From GLM_GTX_comparison extension.
|
|
||||||
template <typename T> |
|
||||||
bool operator!= ( |
|
||||||
detail::tvec4<T> const & x,
|
|
||||||
detail::tvec4<T> const & y); |
|
||||||
*/ |
|
||||||
}//namespace comparison
|
|
||||||
}//namespace gtx
|
|
||||||
}//namespace glm
|
|
||||||
|
|
||||||
#include "comparison.inl" |
|
||||||
|
|
||||||
using namespace glm::gtx::comparison; |
|
||||||
|
|
||||||
#endif//glm_gtx_comparison
|
|
Loading…
Reference in New Issue