Archive update v0.53.2

This commit is contained in:
Eliot Partridge
2019-09-17 20:19:23 -05:00
parent ac640dbe1a
commit 2c4e29eb70
133 changed files with 8047 additions and 9286 deletions
+10 -1
View File
@@ -13,11 +13,20 @@ describe('mat4', () => {
});
describe('ortho()', () => {
expect(ortho(createMat4(), 100, 200, 300, 400, 10, 20)).eql(new Float32Array([
expect(ortho(createMat4(), 100, 200, 300, 400, 10, 20, true)).eql(new Float32Array([
0.019999999552965164, 0, 0, 0,
0, 0.019999999552965164, 0, 0,
0, 0, -0.20000000298023224, 0,
-3, -7, -3, 1
]));
});
describe('orthoNoZ()', () => {
expect(ortho(createMat4(), 100, 200, 300, 400, 10, 20, false)).eql(new Float32Array([
0.019999999552965164, 0, 0, 0,
0, 0.019999999552965164, 0, 0,
0, 0, 1, 0,
-3, -7, 0, 1
]));
});
});