瀏覽代碼

Redundant assignment of 'angle' to itself

pull/504/head
maficccc@gmail.com 7 年之前
committed by Martinfx
父節點
當前提交
44eedf235d
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/gestures.h

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

@ -493,7 +493,7 @@ float GetGesturePinchAngle(void)
// Returns angle from two-points vector with X-axis
static float Vector2Angle(Vector2 v1, Vector2 v2)
{
float angle = angle = atan2f(v2.y - v1.y, v2.x - v1.x)*(180.0f/PI);
float angle = atan2f(v2.y - v1.y, v2.x - v1.x)*(180.0f/PI);
if (angle < 0) angle += 360.0f;

Loading…
取消
儲存