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

Function getDefaultUpAxis

src/store/stores/pointPickingStore.ts:25–27  ·  view source on GitHub ↗
(coordinateSystem: AxesCoordinateSystem)

Source from the content-addressed store, hash-verified

23
24// Get the default "up" axis for a coordinate system (first in cycle order)
25export function getDefaultUpAxis(coordinateSystem: AxesCoordinateSystem): TargetAxis {
26 return getAxisCycleOrder(coordinateSystem)[0];
27}
28
29export interface SelectedPoint {
30 position: THREE.Vector3;

Callers 1

Calls 1

getAxisCycleOrderFunction · 0.85

Tested by

no test coverage detected