(sim3d: Sim3d, point: THREE.Vector3)
| 9 | } from './sim3dAlignment'; |
| 10 | |
| 11 | function applySim3d(sim3d: Sim3d, point: THREE.Vector3): THREE.Vector3 { |
| 12 | return point |
| 13 | .clone() |
| 14 | .applyQuaternion(sim3d.rotation) |
| 15 | .multiplyScalar(sim3d.scale) |
| 16 | .add(sim3d.translation); |
| 17 | } |
| 18 | |
| 19 | function triangleNormal( |
| 20 | p1: THREE.Vector3, |
no test coverage detected