(overrides: Partial<Point3D> = {})
| 84 | } |
| 85 | |
| 86 | export function buildPoint3D(overrides: Partial<Point3D> = {}): Point3D { |
| 87 | return { |
| 88 | point3DId: 1n, |
| 89 | xyz: [0, 0, 0], |
| 90 | rgb: [255, 255, 255], |
| 91 | error: 0, |
| 92 | track: [], |
| 93 | ...overrides, |
| 94 | }; |
| 95 | } |
| 96 | |
| 97 | export function buildRig(overrides: Partial<Rig> = {}): Rig { |
| 98 | const refSensorId = overrides.refSensorId ?? { type: SensorType.CAMERA, id: 1 }; |
no outgoing calls