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

Function identitySim3d

src/utils/sim3dNormalization.ts:7–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5import { median } from './mathUtils';
6
7function identitySim3d(): Sim3d {
8 return {
9 scale: 1,
10 rotation: new THREE.Quaternion(),
11 translation: new THREE.Vector3(),
12 };
13}
14
15/**
16 * Compute transform to center reconstruction at origin.

Callers 2

computeCenterAtOriginFunction · 0.70
computeNormalizeScaleFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected