Skip to content

Commit 3c008db

Browse files
authored
Merge pull request #14 from Daniel-Cortez/trig-func-desc
Fix the descriptions for inverse trigonometric functions
2 parents 6eefa92 + 06bc7f3 commit 3c008db

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

a_samp.inc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -318,31 +318,31 @@ native CallLocalFunction(const function[], const format[], {Float,_}:...);
318318
/// <returns>The norm (length) of the provided vector as a float.</returns>
319319
native Float:VectorSize(Float:x, Float:y, Float:z);
320320

321-
/// <summary>Get the inversed value of a sine in radians.</summary>
321+
/// <summary>Get the inversed value of a sine in degrees.</summary>
322322
/// <param name="value">The sine for which to find the angle for</param>
323323
/// <seealso name="floatsin"/>
324-
/// <returns>The angle in radians.</returns>
324+
/// <returns>The angle in degrees.</returns>
325325
native Float:asin(Float:value);
326326

327-
/// <summary>Get the inversed value of a cosine in radians.</summary>
327+
/// <summary>Get the inversed value of a cosine in degrees.</summary>
328328
/// <param name="value">The cosine for which to find the angle for</param>
329329
/// <seealso name="floatcos"/>
330-
/// <returns>The angle in radians.</returns>
330+
/// <returns>The angle in degrees.</returns>
331331
native Float:acos(Float:value);
332332

333-
/// <summary>Get the inversed value of a tangent in radians.</summary>
333+
/// <summary>Get the inversed value of a tangent in degrees.</summary>
334334
/// <param name="value">The tangent for which to find the angle for</param>
335335
/// <seealso name="atan2"/>
336336
/// <seealso name="floattan"/>
337-
/// <returns>The angle in radians.</returns>
337+
/// <returns>The angle in degrees.</returns>
338338
native Float:atan(Float:value);
339339

340-
/// <summary>Get the multi-valued inversed value of a tangent in radians.</summary>
340+
/// <summary>Get the multi-valued inversed value of a tangent in degrees.</summary>
341341
/// <param name="y">y size</param>
342342
/// <param name="x">x size</param>
343343
/// <seealso name="atan"/>
344344
/// <seealso name="floattan"/>
345-
/// <returns>The angle in radians.</returns>
345+
/// <returns>The angle in degrees.</returns>
346346
native Float:atan2(Float:y, Float:x);
347347

348348

0 commit comments

Comments
 (0)