Math

The math library provides various utilities and modules for mathematical calculations and operations. It includes modules for quaternion operations, random number generation, noise generation, color utilities, and curve evaluation.

To use the entire math module, add the following line to your project file:

require engine.math_core // or require engine.core

Some useful math functions are also available in Daslang standard modules math, math_bits, math_boost and random.