   precision problem?
  hi, im trying to make a program that with a given camera position and perspective view, it draw a certain object(triangle). and then i try to compare with if i do the matrix multiplication by myself. this is the code of the program:codeethere are lots of  unused part but here is what i did:i read the object and calculate the normals in init() method (line 58)for the first draw, i set the perspective and lookat at onReshape() method (line 185)i draw the triangle in renderscene method (line 127) and draw the real triangle on the second part (138-146)i grab the perspective and lookat matrix (line 97 - 104)multiply it with the triangle vertex (line 107-109)and draw the triangle with perspective and lookat set to identity (line 129-136)the result is (probably) right but not exactly right.  here is some of the grabbed scene:i used double and all the matrix,, vector method seem to work properly. any idae why is this happen?thanks in advance[Edited by - svnstrk on April 14, 2010 4:53:00 PM]
  i notice a tendency that the farther the point from 0, the larger the errorthe lower vertex is 0, 0, 0[Edited by - svnstrk on April 14, 2010 4:47:14 PM]