jvocaturo
4 lat temu
committed by
GitHub
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z
1 dodań i
1 usunięć
-
src/raymath.h
|
|
@ -1284,7 +1284,7 @@ RMDEF Quaternion QuaternionFromVector3ToVector3(Vector3 from, Vector3 to) |
|
|
|
|
|
|
|
result.x = cross.x; |
|
|
|
result.y = cross.y; |
|
|
|
result.z = cross.y; |
|
|
|
result.z = cross.z; |
|
|
|
result.w = 1.0f + cos2Theta; // NOTE: Added QuaternioIdentity() |
|
|
|
|
|
|
|
// Normalize to essentially nlerp the original and identity to 0.5 |
|
|
|