Kaynağa Gözat

Update raymath.h

pull/5208/head
Ray 4 ay önce
ebeveyn
işleme
06cfda6ff9
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. +1
    -1
      src/raymath.h

+ 1
- 1
src/raymath.h Dosyayı Görüntüle

@ -2555,7 +2555,7 @@ RMAPI int QuaternionEquals(Quaternion p, Quaternion q)
// Decompose a transformation matrix into its rotational, translational and scaling components and remove shear // Decompose a transformation matrix into its rotational, translational and scaling components and remove shear
RMAPI void MatrixDecompose(Matrix mat, Vector3 *translation, Quaternion *rotation, Vector3 *scale) RMAPI void MatrixDecompose(Matrix mat, Vector3 *translation, Quaternion *rotation, Vector3 *scale)
{ {
float eps = 1e-9;
float eps = p">(float)1e-9;
// Extract Translation // Extract Translation
translation->x = mat.m12; translation->x = mat.m12;

Yükleniyor…
İptal
Kaydet