UNPKG

@pixiv/three-vrm

Version:

VRM file loader for three.js.

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