removed curProjMatrix (no longer used)