Skip to content

Commit 8b47803

Browse files
committed
docs: update
1 parent d2de4fe commit 8b47803

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Assets/JCSUnity/Scripts/Util/JCS_Mathf.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,6 @@ public static bool IsNaNOrInfinity(Vector2 vec)
322322
return IsNaN(vec) || IsInfinity(vec);
323323
}
324324

325-
326325
/// <summary>
327326
/// Do law of sine.
328327
/// </summary>

docs/ScriptReference/Util/JCS_Mathf.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,22 @@ Math library class.
99
| AbsoluteValue | Returns the absolute value from a pass in value. |
1010
| ToPositive | Returns a positive value of the pass in value. |
1111
| ToNegative | Returns a negative value of the pass in value. |
12-
| IsPositive | Check if the value is positive. |
13-
| IsNegative | Check if the value is negative. |
14-
| ToReverse | Reverse a value, turn negative to positive, turn positive to negative. |
15-
| Reciprocal | Reciprocal the value pass in. |
12+
| IsPositive | Return true if the number is positive. |
13+
| IsNegative | Return true if the number is negative. |
14+
| ToReverse | To reverse a value, turn negative to positive, turn positive to negative. |
15+
| Reciprocal | To reciprocal the value pass in. |
1616
| Sqr | Square root the value pass in. |
1717
| DistanceOfUnitVector | Returns the distacne of the two floats. |
1818
| IsOdd | Check if the value is the odd number. |
1919
| IsEven | Check if the value is a even number. |
2020
| FindMiddleIndex | Returns the center of the array length. |
2121
| OverFlowIndex | Returns index that are overflow within the array length. |
2222
| ApproachTo | Make value approach to the target value by increment/decrement one. |
23-
| IsInfinity | Check if the value is infinity? |
2423
| Min | Returns the mininum value. |
2524
| Max | Returns the maxinum value. |
26-
| IsNaN | Check if the number is invalid. |
25+
| IsInfinity | Return true if the number is infinity. |
26+
| IsNaN | Return true if the number is NaN. |
27+
| IsNaNOrInfinity | Return true if the number is either NaN or infinity. |
2728
| LawOfSine | Do law of sin. |
2829
| LawOfConsine | Do law of cosine. |
2930
| IsPossible | Use to check if something is possible by pasing in the percentage. (0% ~ 100%) |

0 commit comments

Comments
 (0)