import { Quaternion , Vector3 } from "three" ; const normal = new Vector3 ( 0 , 0 , - 1 ) ; export const quaternionToVector = ( quaternion , target ) : Vector3 => target . copy ( normal ) . applyQuaternion ( quaternion ) ;