pub fn create_perspective(d: T) -> TypedMatrix4D<T, Src, Dst> {
        let (_0, _1): (T, T) = (Zero::zero(), One::one());
        TypedMatrix4D::row_major(
            _1, _0, _0, _0,
            _0, _1, _0, _0,
            _0, _0, _1, -_1 / d,
            _0, _0, _0, _1
        )
    }
/// Create a simple perspective projection matrix
Create a simple perspective projection matrix
Create a simple perspective projection matrix
pub fn create_perspective(d: T) -> TypedMatrix4D<T, Src, Dst> {
        let (_0, _1): (T, T) = (Zero::zero(), One::one());
        TypedMatrix4D::row_major(
            _1, _0, _0, _0,
            _0, _1, _0, _0,
            _0, _0, _1, -_1 / d,
            _0, _0, _0, _1
        )
    }
pub fn create_perspective ( d : T ) -> TypedMatrix4D < T , Src , Dst > { let ( _0 , _1 ) : ( T , T ) = ( Zero :: zero ( ) , One :: one ( ) ) ; TypedMatrix4D :: row_major ( _1 , _0 , _0 , _0 , _0 , _1 , _0 , _0 , _0 , _0 , _1 , - _1 / d , _0 , _0 , _0 , _1 ) }
Create a simple perspective projection matrix
Create a simple perspective projection matrix
d
T
d
T