beta.r3js.org
Theunis J. Botha 2016-09-30 14:33:37 +02:00
parent ff1a0ca980
commit ffa5d8505b
2 changed files with 3 additions and 10 deletions

View File

@ -700,12 +700,5 @@ Maths3D.Vector3.prototype.cross = function (v) {
};
if (typeof module !== 'undefined') {
module.exports = {
Vector2: Maths3D.Vector2,
Vector3: Maths3D.Vector3,
Vector4: Maths3D.Vector4,
Matrix3: Maths3D.Matrix3,
Matrix4: Maths3D.Matrix4,
Color: Maths3D.Color
};
module.exports = Maths3D;
}

View File

@ -1,5 +1,5 @@
if (typeof require != 'undefined') {
var Maths3D = require('./maths3d');
var Maths3D = require('./game-lib-maths.js');
}
function GameLib() {}
@ -2610,4 +2610,4 @@ GameLib.D3.prototype.loadScene = function(blenderScene, onLoaded, computeNormals
if (typeof module != 'undefined') {
module.exports = GameLib.D3;
}
}