Skip to main content

Euler

A utility identical to THREE.Euler so you don't have to BYO.

See three.js docs for more info.

import { Euler, DEG2RAD } from "hyperfy";

const rotation = new Euler().fromArray([0, DEG2RAD * 90, 0]);