Struct dumbmath::vec2f::Vec2f
[−]
[src]
pub struct Vec2f { pub x: f32, pub y: f32, }
Vector with two f32 components
Fields
x | |
y |
Methods
impl Vec2f
fn new(x: f32, y: f32) -> Vec2f
Create a Vec2f from two components