MCPcopy Create free account
hub / github.com/ColmapView/Colmapview.github.io / point

Function point

src/store/stores/pointPickingStore.test.ts:5–10  ·  view source on GitHub ↗
(id: number)

Source from the content-addressed store, hash-verified

3import { usePointPickingStore, type SelectedPoint } from './pointPickingStore';
4
5function point(id: number): SelectedPoint {
6 return {
7 position: new THREE.Vector3(id, 0, 0),
8 point3DId: BigInt(id),
9 };
10}
11
12describe('point picking store', () => {
13 beforeEach(() => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected