Added uround to GTC_integer, fast round on positive values

This commit is contained in:
Christophe Riccio
2016-03-10 21:17:46 +01:00
parent f48fe286ad
commit c853df1638
5 changed files with 52 additions and 1 deletions

View File

@@ -599,7 +599,7 @@ namespace round_
int test()
{
int Error = 0;
{
float A = glm::round(0.0f);
Error += A == 0.0f ? 0 : 1;