Module button_controller::math
[−]
[src]
Various useful methods for math.
Functions
| duration_to_secs |
Returns the number of seconds of duration. |
| is_inside |
Returns true if transformed point is inside rectangle. |
Type Definitions
| Matrix2d |
The type used for matrices. |
| Rectangle |
Rectangle dimensions: [x, y, w, h] |
| Scalar |
The type used for scalars. |
| Vec2d |
The type used for 2D vectors. |