From 443f62bb08db5a108033804740ac30adb7ff8847 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Sun, 16 Dec 2012 21:54:54 +0100 Subject: [PATCH] Fixed issue #19, fixed -0.0 with half --- glm/core/type_half.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glm/core/type_half.inl b/glm/core/type_half.inl index ad54c566..27c49ee6 100644 --- a/glm/core/type_half.inl +++ b/glm/core/type_half.inl @@ -155,7 +155,7 @@ namespace detail // We convert f to a half zero. // - return 0; + return hdata(s); } //