浏览代码

Update raymath.h

pull/4561/head
Ray 2 周前
committed by GitHub
父节点
当前提交
503cd7ba34
找不到此签名对应的密钥 GPG 密钥 ID: B5690EEEBB952194
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. +3
    -3
      src/raymath.h

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

@ -328,9 +328,9 @@ RMAPI float Vector2DistanceSqr(Vector2 v1, Vector2 v2)
return result;
}
// Calculate the signed angle from v1 to v2, relative to the origin (0, 0).
// NOTE: In Raylib's 2D coordinate system (positive X right, positive Y down),
// positive angles appear clockwise, and negative angles appear counterclockwise.
// Calculate the signed angle from v1 to v2, relative to the origin (0, 0)
// NOTE: Coordinate system convention: positive X right, positive Y down,
// positive angles appear clockwise, and negative angles appear counterclockwise
RMAPI float Vector2Angle(Vector2 v1, Vector2 v2)
{
float result = 0.0f;

正在加载...
取消
保存