Skip to main content

Vec2

Type Alias Vec2 

Source
pub type Vec2 = Vec2;
Expand description

2D vector type alias.

backed by glam::Vec2, provides x, y components with SIMD support.

Aliased Type§

#[repr(C)]
pub struct Vec2 { pub x: f32, pub y: f32, }

Fields§

§x: f32§y: f32