瀏覽代碼

Update raymath.h

pull/5208/head
Ray 2 週之前
父節點
當前提交
06cfda6ff9
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/raymath.h

+ 1
- 1
src/raymath.h 查看文件

@ -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
RMAPI void MatrixDecompose(Matrix mat, Vector3 *translation, Quaternion *rotation, Vector3 *scale)
{
float eps = 1e-9;
float eps = p">(float)1e-9;
// Extract Translation
translation->x = mat.m12;

Loading…
取消
儲存