(sim3d: Sim3d)
| 28 | } |
| 29 | |
| 30 | function expectIdentity(sim3d: Sim3d): void { |
| 31 | expect(sim3d.scale).toBe(1); |
| 32 | expect(sim3d.translation.length()).toBeCloseTo(0); |
| 33 | expect(sim3d.rotation.equals(new THREE.Quaternion())).toBe(true); |
| 34 | } |
| 35 | |
| 36 | describe('sim3d alignment helpers', () => { |
| 37 | it('translates a selected point to the origin', () => { |
no test coverage detected