Browse Source

stdinc: Corrected documentation for SDL_atan2 and SDL_atan2f.

Fixes #13099.

(cherry picked from commit 8d9a4fe843d33908aeb645d441f0d8424e9b4235)
Ryan C. Gordon 3 months ago
parent
commit
290574e6f6
1 changed files with 2 additions and 2 deletions
  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`
  * 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
  * This function operates on double-precision floating point values, use
  * SDL_atan2f for single-precision floats.
  * 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`
  * 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
  * This function operates on single-precision floating point values, use
  * SDL_atan2 for double-precision floats.
  * SDL_atan2 for double-precision floats.