瀏覽代碼

stdinc: Corrected documentation for SDL_atan2 and SDL_atan2f.

Fixes #13099.
Ryan C. Gordon 9 月之前
父節點
當前提交
8d9a4fe843
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      include/SDL3/SDL_stdinc.h

+ 2 - 2
include/SDL3/SDL_stdinc.h

@@ -4656,7 +4656,7 @@ extern SDL_DECLSPEC float SDLCALL SDL_atanf(float x);
  *
  * Domain: `-INF <= x <= INF`, `-INF <= y <= INF`
  *
- * Range: `-Pi/2 <= y <= Pi/2`
+ * Range: `-Pi <= y <= Pi`
  *
  * This function operates on double-precision floating point values, use
  * SDL_atan2f for single-precision floats.
@@ -4692,7 +4692,7 @@ extern SDL_DECLSPEC double SDLCALL SDL_atan2(double y, double x);
  *
  * Domain: `-INF <= x <= INF`, `-INF <= y <= INF`
  *
- * Range: `-Pi/2 <= y <= Pi/2`
+ * Range: `-Pi <= y <= Pi`
  *
  * This function operates on single-precision floating point values, use
  * SDL_atan2 for double-precision floats.