Demos fixed via GLGE update

Paul updated GLGE to cope with a spec change in typed arrays, so all the site demos now work in the latest browser versions.

4 comments so far

I was curious and followed the link. I think this is the correct commit that fixed the issue with Typed Arrays:

fix math issue
https://github.com/supereggbert/GLGE/commit/648cee0d1081e28e619eb19f08f6bd618b4e6531

stepheneb
March 14th, 2011 at 4:43 am

Hi,

I’m interested in learning about Verlet integration for calculating trajectories that doesn’t ignore changing acceleration. Is there a good book that explains that? Did you implement that in your code and if so where is it in the source.

Thanks, nate

Nate
April 22nd, 2011 at 10:14 pm

hi,
i can not run demos by
>copying from my browser
>save in my harddisk
>copy library js files into same directory

but i get errors in firebug for example “a.slice is not a function”

what should i do, i have the most recent glge i think

merve
June 21st, 2011 at 3:07 pm

Rotation is broken in Matrix3D.prototype.appendRotation. The same error is in Matrix3D.prototype.angleAxis. You have a line that says:

//convert from degrees to radians
angle=angle/(3.14159*2);

This doesn’t convert degrees to radians. The correct formula is: angle = angle*3.14159/180;

http://en.wikipedia.org/wiki/Radian

walzuu
August 11th, 2011 at 9:46 am