fn twovecs_to_uniform(twovecs_bottom: [[f32; 4]; 2]) -> citro3d::uniform::Uniform {
citro3d::uniform::Uniform::Float2([
FVec4::from_raw(citro3d_sys::C3D_FVec {
c: twovecs_bottom[0],
}),
FVec4::from_raw(citro3d_sys::C3D_FVec {
c: twovecs_bottom[1],
}),
])
}
why is the parameter twovecs_bottom?
because when i converted this expression into a function, the variable used was only twovecs_bottom.
there is now twovecs_top as well.