Mathie
Overview
Mathie is a rust math type library which contains the 3 basic types for doing anything 2D.
Value
A single number value.Vec2
A two-dimensional position.Rect
A two-dimensional area that has an origin and a size.
Math
Doing math with the builtin types is designed to be simple and powerful. All of them support Addition, Subtraction, Multiplication, Division and Remainder.
Units
This library runs on the optional concept of units which may be sized and are designed to be easily converted between without thinking about it.
There are builtin units that are optional.
metric_units
20 Metric prefixesimperial_units
10 Imperial prefixesnautical_units
Nautical mile
Compatibility
This library has optional features for compatibility between other
math type libraries like euclid
.