doing openGL for uniformMatrix4fv it wants []const [4][4]f32 how tf do i make one. Like i have made a helper function
pub fn creatOrthoMat(left: f32, right: f32, bottom: f32, top: f32, near: f32, far: f32) [4][4]f32 {
var arr: [16]f32 = @splat(0);
arr[0] = @divExact(2.0, (right - left));
arr[5] = @divExact(2.0, (top - bottom));
arr[10] = @divExact(-2.0, (far - near));
arr[12] = @divExact(-(right + left), (right - left));
arr[13] = @divExact(-(top + bottom), (top - bottom));
arr[14] = @divExact(-(far + near), (far - near));
arr[15] = 1.0;
const mat: [4][4]f32 = @ptrCast(arr);
return mat;
}```
but i dont know how i make the final outer const array