Skip to main content

push_vec4

Function push_vec4 

Source
pub fn push_vec4(out: &mut Vec<f32>, x: f32, y: f32, z: f32, w: f32)
Expand description

Appends four f32 values to out, reusing its capacity when it already covers the write.

ยงArguments

  • &mut Vec<f32> - The destination, which keeps its capacity.
  • f32 - The x component.
  • f32 - The y component.
  • f32 - The z component.
  • f32 - The w component.