소스 검색

Merge pull request #725 from elect86/master

Fixed core_func_common.cpp unsigned test #725
Christophe 7 년 전
부모
커밋
2fd7333dd3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      test/core/core_func_common.cpp

+ 1 - 1
test/core/core_func_common.cpp

@@ -235,7 +235,7 @@ namespace floatBitsToUint
 		{
 			float A = 1.0f;
 			glm::uint B = glm::floatBitsToUint(A);
-			float C = glm::intBitsToFloat(B);
+			float C = glm::uintBitsToFloat(B);
 			Error += glm::epsilonEqual(A, C, 0.0001f) ? 0 : 1;
 		}