Skip to main content

pack_float4x3

Function pack_float4x3 

Source
pub fn pack_float4x3(m: &[[f32; 4]; 4]) -> [[f32; 4]; 3]
Expand description

Pack a D3DX 4x4 (row-major m[row][col]) into the ABI’s float4x3 -> mat3x4 layout: out[col][row] = m[row][col] for col < 3.