Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Functions
Olympe::anonymous_namespace{MinimapWidget.cpp} Namespace Reference

Functions

float Normalise (float value, float minVal, float maxVal)
 Safely normalise a value within a range, clamped to [0,1].
 

Function Documentation

◆ Normalise()

float Olympe::anonymous_namespace{MinimapWidget.cpp}::Normalise ( float  value,
float  minVal,
float  maxVal 
)

Safely normalise a value within a range, clamped to [0,1].

Definition at line 43 of file MinimapWidget.cpp.

References GetComponentTypeID_Static(), and Normalise().

Referenced by Normalise().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: