Registry / utility / vec2
library0.2.1rscratesunverified

A 2D vector type for mathematical operations.

# Cargo.toml [dependencies] vec2 = "0.2.1"
INSTALL
IMPORT
SIG · VEC2
V
vec2
utilityrustv0.2.1
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.

Vec2
use vec2::Vec2;

Creates a 2D vector with x and y components.

use vec2::Vec2; fn main() { let v = Vec2::new(1.0, 2.0); println!("{:?}", v); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
vec2 — cargo add vec2 · libregistry