maths
parent
ff1a0ca980
commit
ffa5d8505b
|
@ -700,12 +700,5 @@ Maths3D.Vector3.prototype.cross = function (v) {
|
||||||
};
|
};
|
||||||
|
|
||||||
if (typeof module !== 'undefined') {
|
if (typeof module !== 'undefined') {
|
||||||
module.exports = {
|
module.exports = Maths3D;
|
||||||
Vector2: Maths3D.Vector2,
|
|
||||||
Vector3: Maths3D.Vector3,
|
|
||||||
Vector4: Maths3D.Vector4,
|
|
||||||
Matrix3: Maths3D.Matrix3,
|
|
||||||
Matrix4: Maths3D.Matrix4,
|
|
||||||
Color: Maths3D.Color
|
|
||||||
};
|
|
||||||
}
|
}
|
|
@ -1,5 +1,5 @@
|
||||||
if (typeof require != 'undefined') {
|
if (typeof require != 'undefined') {
|
||||||
var Maths3D = require('./maths3d');
|
var Maths3D = require('./game-lib-maths.js');
|
||||||
}
|
}
|
||||||
|
|
||||||
function GameLib() {}
|
function GameLib() {}
|
||||||
|
@ -2610,4 +2610,4 @@ GameLib.D3.prototype.loadScene = function(blenderScene, onLoaded, computeNormals
|
||||||
|
|
||||||
if (typeof module != 'undefined') {
|
if (typeof module != 'undefined') {
|
||||||
module.exports = GameLib.D3;
|
module.exports = GameLib.D3;
|
||||||
}
|
}
|
Loading…
Reference in New Issue