DefinitelyTyped/math3d/math3d-tests.ts
2016-11-22 09:48:00 -08:00

8 lines
235 B
TypeScript

import * as math3d from 'math3d';
const v = new math3d.Vector3(1, 2, 3);
v.add(new math3d.Vector3(0, 0, 1));
new math3d.Matrix4x4([1,1,1,1,
2,2,2,2,
3,3,3,3,
4,4,4,4]);