Browse Source

Fixed operator /

Christophe Riccio 15 years ago
parent
commit
85bce33797
1 changed files with 2 additions and 4 deletions
  1. 2 4
      glm/core/type_mat3x4.inl

+ 2 - 4
glm/core/type_mat3x4.inl

@@ -522,8 +522,7 @@ namespace detail
         return tmat3x4<T>(
             m[0] / s,
             m[1] / s,
-            m[2] / s,
-            m[3] / s);        
+            m[2] / s);        
     }
 
     template <typename T> 
@@ -536,8 +535,7 @@ namespace detail
         return tmat3x4<T>(
             s / m[0],
             s / m[1],
-            s / m[2],
-            s / m[3]);        
+            s / m[2]);        
     }
 
 	// Unary constant operators