DefinitelyTyped/types/math3d/math3d-tests.ts
2017-03-24 14:27:52 -07:00

8 lines
247 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]);