maths
parent
ff1a0ca980
commit
ffa5d8505b
|
@ -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;
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
if (typeof require != 'undefined') {
|
||||
var Maths3D = require('./maths3d');
|
||||
var Maths3D = require('./game-lib-maths.js');
|
||||
}
|
||||
|
||||
function GameLib() {}
|
||||
|
|
Loading…
Reference in New Issue