UNPKG

@pixiv/three-vrm

Version:

VRM file loader for three.js.

9 lines (8 loc) 373 B
import * as THREE from 'three'; /** * A compat function for `Quaternion.invert()` / `Quaternion.inverse()`. * `Quaternion.invert()` is introduced in r123 and `Quaternion.inverse()` emits a warning. * We are going to use this compat for a while. * @param target A target quaternion */ export declare function quatInvertCompat<T extends THREE.Quaternion>(target: T): T;