game.utils.helpers
Helper functions and utilities.
Functions
|
Calculate distance between two points. |
|
Normalize a vector to unit length. |
|
Clamp a value between min and max. |
|
Linear interpolation between start and end. |
|
Check if a point is inside a rectangle. |
|
Create a gradient surface. |
|
Format time in MM:SS format. |