Skip to main content

vec2_as_ref

Function vec2_as_ref 

Source
pub fn vec2_as_ref(v: &Vec2Impl) -> &[f32; 2]
Expand description

Get Vec2 data as a &[f32; 2] ref.