Started removing GLMvalType

This commit is contained in:
Christophe Riccio 2011-03-03 10:53:20 +00:00
parent 4943efd56f
commit 1b91fe7790
3 changed files with 5 additions and 6 deletions

View File

@ -15,7 +15,6 @@
#include "type_int.hpp"
#include "type_size.hpp"
#include "_swizzle.hpp"
#include "_detail.hpp"
namespace glm
{

View File

@ -13,7 +13,7 @@
#define glm_glm
//! TODO: to delete
#define GLMvalType typename genType::value_type
//#define GLMvalType typename genType::value_type
#include <cmath>
#include <climits>

View File

@ -41,15 +41,15 @@ namespace glm
bool areCollinear(
const genType & v0,
const genType & v1,
const GLMvalType epsilon = std::numeric_limits<GLMvalType>::epsilon());
typename genType::value_type const epsilon = std::numeric_limits<GLMvalType>::epsilon());
//! Check if two vectors are opposites.
//! From GLM_GTX_vector_query extensions.
template <typename genType>
bool areOpposite(
const genType & v0,
const genType & v1,
const GLMvalType epsilon = std::numeric_limits<GLMvalType>::epsilon());
genType const & v0,
genType const & v1,
typename genType::value_type const epsilon = std::numeric_limits<GLMvalType>::epsilon());
//! Check if two vectors are orthogonals.
//! From GLM_GTX_vector_query extensions.