MCPcopy Create free account
hub / github.com/ThatOpen/engine_clay / toThreeRot

Method toThreeRot

packages/clay/src/utils/math-utils.ts:22–24  ·  view source on GitHub ↗
(value: THREE.Euler)

Source from the content-addressed store, hash-verified

20 }
21
22 static toThreeRot(value: THREE.Euler) {
23 return value.clone().set(value.x, value.z, -value.y);
24 }
25
26 static toIfcRot(value: THREE.Euler) {
27 return value.clone().set(value.x, -value.z, value.y);

Callers

nothing calls this directly

Calls 1

setMethod · 0.45

Tested by

no test coverage detected