glam_core 0.5.0

Core of the glam port: Q32.32 vectors, matrices, quaternions, affines, camera, and the integer vector types

Readme

glam_core

The core of the glam port of glam-rs 0.33.8: Vec2/3/4, Mat2/3/4, Quat, Affine2/3, BVec*, the Euler angles, camera, and the integer vector types IVec2/3/4, UVec2/3/4 with the impls of the core traits for them (operators, conversions, indexing). Built on the fixed Q32.32 scalar. Same module, type and method names as glam-rs.

Depend on glam_core when you need the vectors, matrices and quaternions only: it is the smallest build (about 18 500 library lines). The methods of the integer vectors are in glam_int, the swizzles in glam_swizzles / glam_int_swizzles; the glam facade re-exports all of them under the paths of a single crate.

The pub fn helpers of glam_core::ivec* / uvec* (bitand_i32, ...) exist so that glam_int can reach them: they are internal, not re-exported by glam, and not part of the API.

Compatible with Cairo 2.20.0. Gas tables: glam.

Metadata

Version 0.5.0

Uploaded 2 weeks ago

License MIT

Cairo version ^2.20.0

Size 67.3 KB

Installation

Run the following command in your project dir

scarb add glam_core@0.5.0

Or add the following line to your Scarb.toml

glam_core = "0.5.0"

Monthly downloads

Links

Owners