glam_core 0.4.1

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.19.4. Gas tables: glam.

Metadata

Version 0.4.1

Uploaded 11 hours ago

License MIT

Cairo version ^2.19.4

Size 64.1 KB

Installation

Run the following command in your project dir

scarb add glam_core@0.4.1

Or add the following line to your Scarb.toml

glam_core = "0.4.1"

Monthly downloads

Links

Owners