Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case "perspectiva":
- var matAux = mat4();
- matAux[2][2] = 0;
- matAux[3][2] = 1/dist;
- mView = matAux;
- mProjection = mult(defaultProjection, matAux);
- mNormals =mat4();
- break;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement