mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 04:31:47 +00:00
Fixed warnings
This commit is contained in:
parent
0e763af6e7
commit
7489d5d01e
@ -29,9 +29,9 @@ static int test_equal()
|
|||||||
{
|
{
|
||||||
typedef typename matType::value_type valType;
|
typedef typename matType::value_type valType;
|
||||||
|
|
||||||
valType const Epsilon(0.001f);
|
valType const Epsilon = static_cast<valType>(0.001f);
|
||||||
valType const One(1);
|
valType const One = static_cast<valType>(1);
|
||||||
valType const Two(2);
|
valType const Two = static_cast<valType>(2);
|
||||||
|
|
||||||
int Error = 0;
|
int Error = 0;
|
||||||
|
|
||||||
@ -46,9 +46,9 @@ static int test_notEqual()
|
|||||||
{
|
{
|
||||||
typedef typename matType::value_type valType;
|
typedef typename matType::value_type valType;
|
||||||
|
|
||||||
valType const Epsilon(0.001f);
|
valType const Epsilon = static_cast<valType>(0.001f);
|
||||||
valType const One(1);
|
valType const One = static_cast<valType>(1);
|
||||||
valType const Two(2);
|
valType const Two = static_cast<valType>(2);
|
||||||
|
|
||||||
int Error = 0;
|
int Error = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user