Registry / utility / glam
library0.33.0rscratesunverified

A simple and fast 3D math library for games and graphics, providing vectors, matrices, and quaternions.

# Cargo.toml [dependencies] glam = "0.33.0"
INSTALL
IMPORT
SIG · GLAM
G
glam
utilityrustv0.33.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Vec3
use glam::Vec3;

Adding two 3D vectors.

use glam::Vec3; let a = Vec3::new(1.0, 2.0, 3.0); let b = Vec3::new(4.0, 5.0, 6.0); let c = a + b; println!("Sum: {:?}", c);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.33.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
glam — cargo add glam · libregistry