Browse Source

Fixed issue #19, fixed -0.0 with half

Christophe Riccio 13 years ago
parent
commit
443f62bb08
1 changed files with 1 additions and 1 deletions
  1. 1 1
      glm/core/type_half.inl

+ 1 - 1
glm/core/type_half.inl

@@ -155,7 +155,7 @@ namespace detail
 				// We convert f to a half zero.
 				//
 
-				return 0;
+				return hdata(s);
 			}
 
 			//