浏览代码

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 // 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;

正在加载...
取消
保存