function updateProjectionMatrix() {
        glMatrix.mat4.perspective(
            projectionMatrix,
            Math.PI / 4,        // 45 degree field of view
            canvas.width / canvas.height,
            1,
            1000000
        );
    }
/**
     * Updates the projection view matrix.
     * @method updateProjectionMatrix
     */
Updates the projection view matrix.
Updates the projection view matrix .
function updateProjectionMatrix() {
        glMatrix.mat4.perspective(
            projectionMatrix,
            Math.PI / 4,        
            canvas.width / canvas.height,
            1,
            1000000
        );
    }
function updateProjectionMatrix ( ) { glMatrix . mat4 . perspective ( projectionMatrix , Math . PI / 4 , canvas . width / canvas . height , 1 , 1000000 ) ; }
Updates the projection view matrix.
Updates the projection view matrix .
// 45 degree field of view