pointToLocalFrame static method
Implementation
static Vec3 pointToLocalFrame(Vec3 position,Quaternion quaternion,Vec3 worldPoint, [Vec3? result]) {
result ??= Vec3();
worldPoint.vsub(position, result);
final tmpQuat = Quaternion();
quaternion.conjugate(tmpQuat);
tmpQuat.vmult(result, result);
return result;
}