sousou03 / glmatrix

Automatically exported from code.google.com/p/glmatrix
0 stars 0 forks source link

speedup lookat #13

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
It is not yet but this will surely be a lot faster

Original issue reported on code.google.com by jeroom832@gmail.com on 8 Jun 2010 at 4:32

GoogleCodeExporter commented 8 years ago
whoops was wrong attachment

Original comment by jeroom832@gmail.com on 8 Jun 2010 at 4:33

Attachments:

GoogleCodeExporter commented 8 years ago
I think this is wrong?

        z0 = z0/l;
        z1 = z1/l;
        z2 = z2/l;

Original comment by danielhe...@gmail.com on 8 Jun 2010 at 5:39

GoogleCodeExporter commented 8 years ago
ah it is l instead of 1 (one) I didn't see that :o

Original comment by danielhe...@gmail.com on 8 Jun 2010 at 5:41

GoogleCodeExporter commented 8 years ago
I think there's a mistake! right and so in line 79, 80, 81!

dest[12] = -(x0 * eye[0] + x1 * eye[1] + x2 * eye[2]);
dest[13] = -(y0 * eye[0] + y1 * eye[1] + y2 * eye[2]);
dest[14] = -(z0 * eye[0] + z1 * eye[1] + z2 * eye[2]);

Original comment by denis.ra...@gmail.com on 9 Jun 2010 at 5:09

GoogleCodeExporter commented 8 years ago
indeed fixed that mistake and added some speed boosts and made sure normalize 
works

Original comment by jeroom832@gmail.com on 9 Jun 2010 at 6:11

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by Tojiro@gmail.com on 12 Jun 2010 at 5:21

GoogleCodeExporter commented 8 years ago

Original comment by Tojiro@gmail.com on 12 Jun 2010 at 5:27

GoogleCodeExporter commented 8 years ago

Original comment by Tojiro@gmail.com on 13 Jun 2010 at 4:14