Fix documentation bug: atan2 arguments were reversed.

Issue #203.
This commit is contained in:
Matt Pharr
2012-03-27 08:03:02 -07:00
parent e15a1946c6
commit 0ad8dbbfc9

View File

@@ -3083,8 +3083,8 @@ The corresponding inverse functions are also available:
uniform float acos(uniform float x) uniform float acos(uniform float x)
float atan(float x) float atan(float x)
uniform float atan(uniform float x) uniform float atan(uniform float x)
float atan2(float x, float y) float atan2(float y, float x)
uniform float atan2(uniform float x, uniform float y) uniform float atan2(uniform float y, uniform float x)
If both sine and cosine are needed, then the ``sincos()`` call computes If both sine and cosine are needed, then the ``sincos()`` call computes
both more efficiently than two calls to the respective individual both more efficiently than two calls to the respective individual