Expand description
The root file of the library. Nothing special here.
Modules§
- Generally speaking, you’ll want to use the prelude module to get all of the traits and functions you’ll need. This does not include any of the individual types. If you want those, import from the
vector
and/orrect
modules. - The rect module contains the definitions of the various bounding rect types, such as
Rect2
andRect3
. Also contains global traits and functions that are shared between all bounding rect types. - The scalar module contains traits and functions that are added to basic primitive types. While you can import from this module, scalar traits will automatically be imported from the
prelude
module. - The vector module contains the definitions of the various vector types, such as
Vec2
,Vec3
, andVec4
. Also contains global traits and functions that are shared between all vector types.