MathfPosMod Method (Single, Single) |
Performs a canonical Modulus operation, where the output is on the range `[0, b)`.
Namespace:
Godot
Assembly:
GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax public static float PosMod(
float a,
float b
)
Parameters
- a
- Type: SystemSingle
The dividend, the primary input. - b
- Type: SystemSingle
The divisor. The output is on the range `[0, b)`.
Return Value
Type:
SingleThe resulting output.
See Also