Build fails when referencing XRRigidTransform from three import
import { XRInputSource, XRRigidTransform } from “three”;
…
const offsetPosition = { x: 0, y: 0, z: 0, w: 1 };
const offsetRotation = new Quaternion();
const transform = new XRRigidTransform(offsetPosition, offsetRotation);
XRInputSource (interface) is found, but XRRigidTransform (class) is not.
- Browser: [Edge]
- NGT [5.4.0]
- Three.js version: [r140 or r141]
Any suggestions is appreciated.