vectorToLocalFrame static method
Implementation
static Vec3 vectorToLocalFrame(Vec3 position,Quaternion quaternion,Vec3 worldVector, [Vec3? result]){
result ??= Vec3();
quaternion.w *= -1;
quaternion.vmult(worldVector, result);
quaternion.w *= -1;
return result;
}