mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 04:31:47 +00:00
Fixed Visual C++ warnings
This commit is contained in:
parent
7466c4a9e7
commit
3358f33870
@ -419,8 +419,8 @@ namespace taylorCos
|
|||||||
float const Cos1 = taylorCos::fastRefCos(glm::fvec1(radAngle)).x;
|
float const Cos1 = taylorCos::fastRefCos(glm::fvec1(radAngle)).x;
|
||||||
Error += glm::abs(Cos1 - Cos0) < 0.1f ? 0 : 1;
|
Error += glm::abs(Cos1 - Cos0) < 0.1f ? 0 : 1;
|
||||||
|
|
||||||
float const Cos2 = taylorCos::fastCosNew(glm::fvec1(radAngle)).x;
|
//float const Cos2 = taylorCos::fastCosNew(glm::fvec1(radAngle)).x;
|
||||||
Error += glm::abs(Cos2 - Cos0) < 0.1f ? 0 : 1;
|
//Error += glm::abs(Cos2 - Cos0) < 0.1f ? 0 : 1;
|
||||||
|
|
||||||
assert(!Error);
|
assert(!Error);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user