Switch fountain to use ProgramVertex rather than hard coded camers in scripts. Remove camera code from scripts.

This commit is contained in:
Jason Sams
2009-06-16 17:49:58 -07:00
parent 0826a6f90f
commit b37c0a5db6
13 changed files with 66 additions and 133 deletions

View File

@@ -139,8 +139,8 @@ class Matrix {
mMat[5] = 2 / (t - b);
mMat[10]= -2 / (f - n);
mMat[12]= -(r + l) / (r - l);
mMat[12]= -(t + b) / (t - b);
mMat[12]= -(f + n) / (f - n);
mMat[13]= -(t + b) / (t - b);
mMat[14]= -(f + n) / (f - n);
}
public void loadFrustum(float l, float r, float b, float t, float n, float f) {