Browse Source

extra build system to get it working

ide user ide_gero3 13 years ago
parent
commit
ee14a4a693
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/core/Matrix4.js

+ 2 - 0
src/core/Matrix4.js

@@ -11,6 +11,8 @@
 
 
 THREE.Matrix4 = function ( n11, n12, n13, n14, n21, n22, n23, n24, n31, n32, n33, n34, n41, n42, n43, n44 ) {
 THREE.Matrix4 = function ( n11, n12, n13, n14, n21, n22, n23, n24, n31, n32, n33, n34, n41, n42, n43, n44 ) {
 
 
+    this.elements = new Float32Array(16);
+
 	this.set(
 	this.set(
 
 
 		( n11 !== undefined ) ? n11 : 1, n12 || 0, n13 || 0, n14 || 0,
 		( n11 !== undefined ) ? n11 : 1, n12 || 0, n13 || 0, n14 || 0,