Ignition / MathHelpers

Namespace Playniax.Ignition

Script can be found in Assets/Playniax/Framework/Ignition/Framework/Core/Scripts/MathHelpers.cs

Class MathHelpers

Description

Collection of math functions.

Public MethodsDescription
static float Mod(float n, float x)Calculates the modulus (remainder) of a division operation between two floating-point numbers. It ensures that the result always remains within the range of [0, x).