Advertisement
Guest User

Untitled

a guest
Nov 18th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. case "perspectiva":
  2. var matAux = mat4();
  3. matAux[2][2] = 0;
  4. matAux[3][2] = 1/dist;
  5. mView = matAux;
  6. mProjection = mult(defaultProjection, matAux);
  7. mNormals =mat4();
  8. break;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement