SaturnRingLibrary 0.9
SGL wrapper
 
Loading...
Searching...
No Matches

◆ Precision

enum class SRL::Math::Precision
strong

Specifies the precision level for mathematical operations.

Different precision levels offer a trade-off between accuracy and performance:

  • Accurate: Full precision calculations, ideal for critical computations
  • Fast: Good approximation with better performance
  • Turbo: Fastest calculation with acceptable accuracy, best for real-time effects
  • Default: Automatically selects precision based on MATH_PERFORMANCE_MODE macro
Enumerator
Accurate 

Full precision using accurate calculations.

Fast 

Fast approximation with good accuracy.

Turbo 

Fastest approximation with acceptable accuracy.

Default 

Default precision (Fast when not specified)