glam_int 0.4.1

Integer vector methods of the glam port (IVec2/3/4, UVec2/3/4 traits and constants)

Readme

glam_int

The methods of the integer vectors of the glam port of glam-rs 0.33.8: IVec2Trait .. UVec4Trait (constants, checked_* / wrapping_* / saturating_*, shifts, ...) and the ivec2 .. uvec4 constructors.

The types IVec2 .. UVec4 and the impls of the core traits for them (+, -, .into(), ...) are in glam_core, on which this crate depends: Cairo finds such an impl without an import only in the module of the type. Use both through the glam facade (glam::ivec2::{IVec2, IVec2Trait, ivec2}); depend on glam_int directly to skip the float swizzles.

Compatible with Cairo 2.19.4.

Metadata

Version 0.4.1

Uploaded 10 hours ago

License MIT

Cairo version ^2.19.4

Size 14.2 KB

Installation

Run the following command in your project dir

scarb add glam_int@0.4.1

Or add the following line to your Scarb.toml

glam_int = "0.4.1"

Monthly downloads

Links

Owners