(id: bigint, xyz: [number, number, number])
| 69 | } |
| 70 | |
| 71 | function makePoint(id: bigint, xyz: [number, number, number]): Point3D { |
| 72 | return { |
| 73 | point3DId: id, |
| 74 | xyz, |
| 75 | rgb: [255, 255, 255], |
| 76 | error: 0, |
| 77 | track: [], |
| 78 | }; |
| 79 | } |
| 80 | |
| 81 | function exportAndReparse(transformed: Reconstruction) { |
| 82 | const ptBuf = writePoints3DBinary(transformed.points3D!); |