mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 12:41:54 +00:00
Started removing GLMvalType
This commit is contained in:
parent
4943efd56f
commit
1b91fe7790
@ -15,7 +15,6 @@
|
||||
#include "type_int.hpp"
|
||||
#include "type_size.hpp"
|
||||
#include "_swizzle.hpp"
|
||||
#include "_detail.hpp"
|
||||
|
||||
namespace glm
|
||||
{
|
||||
|
@ -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>
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user