Exemple #1
0
        public static Quat LookRotation(Vector3 forward)
        {
            Vector3 up = Vector3.up;

            return(Quat.INTERNAL_CALL_LookRotation(ref forward, ref up));
        }
Exemple #2
0
 public static Quat LookRotation(Vector3 forward, Vector3 upwards)
 {
     return(Quat.INTERNAL_CALL_LookRotation(ref forward, ref upwards));
 }