mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 04:31:47 +00:00
compilation fix
Signed-off-by: Sergey Krivohatskiy <s.krivohatskiy@gmail.com>
This commit is contained in:
parent
e81a9c4baa
commit
b5d4757580
@ -5,6 +5,7 @@
|
||||
|
||||
#include <iostream>
|
||||
#include <limits>
|
||||
#include <math.h>
|
||||
|
||||
|
||||
static int test_axisAngle()
|
||||
@ -40,7 +41,7 @@ static int test_axisAngle()
|
||||
template <class T>
|
||||
int testForAxisAngle(glm::vec<3, T, glm::defaultp> const axisTrue, T const angleTrue)
|
||||
{
|
||||
T const eps = sqrt(std::numeric_limits<T>::epsilon());
|
||||
T const eps = std::sqrt(std::numeric_limits<T>::epsilon());
|
||||
|
||||
glm::mat<4, 4, T, glm::defaultp> const matTrue = glm::axisAngleMatrix(axisTrue, angleTrue);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user