pub fn from_modelview_and_projection_2d(modl: &[[f32; 4]; 4], proj: &[[f32; 4]; 4]) -> Frustum {
        let modl_1d: [f32; 16] = [
            modl[0][0],
            modl[0][1],
            modl[0][2],
            modl[0][3],
                modl[1][0],
                modl[1][1],
                modl[1][2],
                modl[1][3],
                    modl[2][0],
                    modl[2][1],
                    modl[2][2],
                    modl[2][3],
                        modl[3][0],
                        modl[3][1],
                        modl[3][2],
                        modl[3][3],
        ];
        let proj_1d: [f32; 16] = [
            proj[0][0],
            proj[0][1],
            proj[0][2],
            proj[0][3],
                proj[1][0],
                proj[1][1],
                proj[1][2],
                proj[1][3],
                    proj[2][0],
                    proj[2][1],
                    proj[2][2],
                    proj[2][3],
                        proj[3][0],
                        proj[3][1],
                        proj[3][2],
                        proj[3][3],
        ];
        return Frustum::from_modelview_and_projection(&modl_1d, &proj_1d);
    }
/// Create a frustum from 2-dimensional column-major modelview and projection float arrays
///
Create a frustum from 2-dimensional column-major modelview and projection float arrays
Create a frustum from 2 - dimensional column - major modelview and projection float arrays
pub fn from_modelview_and_projection_2d(modl: &[[f32; 4]; 4], proj: &[[f32; 4]; 4]) -> Frustum {
        let modl_1d: [f32; 16] = [
            modl[0][0],
            modl[0][1],
            modl[0][2],
            modl[0][3],
                modl[1][0],
                modl[1][1],
                modl[1][2],
                modl[1][3],
                    modl[2][0],
                    modl[2][1],
                    modl[2][2],
                    modl[2][3],
                        modl[3][0],
                        modl[3][1],
                        modl[3][2],
                        modl[3][3],
        ];
        let proj_1d: [f32; 16] = [
            proj[0][0],
            proj[0][1],
            proj[0][2],
            proj[0][3],
                proj[1][0],
                proj[1][1],
                proj[1][2],
                proj[1][3],
                    proj[2][0],
                    proj[2][1],
                    proj[2][2],
                    proj[2][3],
                        proj[3][0],
                        proj[3][1],
                        proj[3][2],
                        proj[3][3],
        ];
        return Frustum::from_modelview_and_projection(&modl_1d, &proj_1d);
    }
pub fn from_modelview_and_projection_2d ( modl : & [ [ f32 ; 4 ] ; 4 ] , proj : & [ [ f32 ; 4 ] ; 4 ] ) -> Frustum { let modl_1d : [ f32 ; 16 ] = [ modl [ 0 ] [ 0 ] , modl [ 0 ] [ 1 ] , modl [ 0 ] [ 2 ] , modl [ 0 ] [ 3 ] , modl [ 1 ] [ 0 ] , modl [ 1 ] [ 1 ] , modl [ 1 ] [ 2 ] , modl [ 1 ] [ 3 ] , modl [ 2 ] [ 0 ] , modl [ 2 ] [ 1 ] , modl [ 2 ] [ 2 ] , modl [ 2 ] [ 3 ] , modl [ 3 ] [ 0 ] , modl [ 3 ] [ 1 ] , modl [ 3 ] [ 2 ] , modl [ 3 ] [ 3 ] , ] ; let proj_1d : [ f32 ; 16 ] = [ proj [ 0 ] [ 0 ] , proj [ 0 ] [ 1 ] , proj [ 0 ] [ 2 ] , proj [ 0 ] [ 3 ] , proj [ 1 ] [ 0 ] , proj [ 1 ] [ 1 ] , proj [ 1 ] [ 2 ] , proj [ 1 ] [ 3 ] , proj [ 2 ] [ 0 ] , proj [ 2 ] [ 1 ] , proj [ 2 ] [ 2 ] , proj [ 2 ] [ 3 ] , proj [ 3 ] [ 0 ] , proj [ 3 ] [ 1 ] , proj [ 3 ] [ 2 ] , proj [ 3 ] [ 3 ] , ] ; return Frustum :: from_modelview_and_projection ( & modl_1d , & proj_1d ) ; }
Create a frustum from 2-dimensional column-major modelview and projection float arrays
Create a frustum from 2 - dimensional column - major modelview and projection float arrays
modl
&[[f32; 4]; 4]
proj
&[[f32; 4]; 4]
modl
&[[f32; 4]; 4]
proj
&[[f32; 4]; 4]