Fixed warnings
This commit is contained in:
@@ -203,7 +203,7 @@ int test_linearRand()
|
||||
|
||||
{
|
||||
float ResultFloat = 0.0f;
|
||||
double ResultDouble = 0.0f;
|
||||
double ResultDouble = 0.0;
|
||||
for(std::size_t i = 0; i < TestSamples; ++i)
|
||||
{
|
||||
ResultFloat += glm::linearRand(-1.0f, 1.0f);
|
||||
@@ -225,8 +225,8 @@ int test_circularRand()
|
||||
{
|
||||
std::size_t Max = TestSamples;
|
||||
float ResultFloat = 0.0f;
|
||||
double ResultDouble = 0.0f;
|
||||
double Radius = 2.0f;
|
||||
double ResultDouble = 0.0;
|
||||
double Radius = 2.0;
|
||||
|
||||
for(std::size_t i = 0; i < Max; ++i)
|
||||
{
|
||||
@@ -251,9 +251,9 @@ int test_sphericalRand()
|
||||
float ResultFloatA = 0.0f;
|
||||
float ResultFloatB = 0.0f;
|
||||
float ResultFloatC = 0.0f;
|
||||
double ResultDoubleA = 0.0f;
|
||||
double ResultDoubleB = 0.0f;
|
||||
double ResultDoubleC = 0.0f;
|
||||
double ResultDoubleA = 0.0;
|
||||
double ResultDoubleB = 0.0;
|
||||
double ResultDoubleC = 0.0;
|
||||
|
||||
for(std::size_t i = 0; i < Max; ++i)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user