Quat ​

Contract 2.0.0 · package sha256 a857eca95b35921109faf997094bb4192f12527d9d0fcd4be7e97f06425bad6e · generated from configurator-runtime.d.ts by services/onsite-scripter/scripts/build-contract-docs.mjs; edit the source, not this file.

Interface · import type { Quat } from '@holostep-configurators/runtime-client/contract'; · stable · since 2.0.0 · section 1. Basics

Unit quaternion. As input its components are finite and its length is 1 within 1e-3, and the runtime normalises it; another one, a zero one included, is invalid input (spec section 3.4).

Members ​

Member Kind Summary
x property Vector part, X.
y property Vector part, Y.
z property Vector part, Z.
w property Scalar part; 1 with x = y = z = 0 is no rotation.

Declaration ​

ts
export interface Quat {
  x: number;
  y: number;
  z: number;
  w: number;
}

Generic-API test (spec 3.1) ​

Rule Result
1. Neutral name pass: Quat names no product
2. A precedent not recorded: no ledger row (coverage.json) names this member or its owner
3. Two apps, or labs not recorded: no ledger row names this member or its owner
4. The cheaper fix first not recorded per member (Appendix B decides it per need)