Andreas Gustafsson's Blog

Tuesday, April 19, 2005

The sqrt() of all evil...

I've been working on some 3D stuff for ProjectLCD. It's obvious that I've been pampered by working with OpenGL on PC for a while now, because I seem to have forgotten a whole lot of vector math.
Anyway, J2ME doesn't have any sqrt() function, so I had to research a bit on how to implement it, and boy does it take a lot of instructions to calculate. The performance on slower device will probably take a hit, but it shouldn't be too bad since I only need one sqrt() per triangle.

In other news, I've started thinking about a redesign of my website which is long overdue. I found some nice templates to use as a base, but we'll see when I get around to actually doing something.

0 Comments:

Post a Comment

<< Home