modulo MethodStatic
Return (a modulo period), e.g. for use as a cyclic index. Both a and period may be negative.
modulo(a: number, period: number): number
Parameter | Type | Description |
---|---|---|
a | number | |
period | number |
Returns - number
Defined in
- Geometry.ts Line 688
Last Updated: 30 November, 2023