Feeg
Still Fresh
I hacked together a really quick and nasty raycaster one night a week or so back, using SDL.
It was basically just a test to see if my toolchain was working, so I was pretty slack. Gratuitous use of glibc's math functions, totally inefficient line drawing algorithm and about 20 float local vars.
Compiled it with -msoft-float and to my surprise, the thing didn't just run, but it seemed to run at a decent speed, all things considered.
I had originally intended to start real development by writing my own software floating point library, but I'm not sure whether it's worth it. Does anyone have an opinion? Is gcc's inbuilt software float reasonably well optimised, or can it be beaten with a little effort?
At this point I realise I should hop on Google and do some more research, but from the people who have actually been working with the GP2x for a while I'd like to hear any opinions..
It was basically just a test to see if my toolchain was working, so I was pretty slack. Gratuitous use of glibc's math functions, totally inefficient line drawing algorithm and about 20 float local vars.
Compiled it with -msoft-float and to my surprise, the thing didn't just run, but it seemed to run at a decent speed, all things considered.
I had originally intended to start real development by writing my own software floating point library, but I'm not sure whether it's worth it. Does anyone have an opinion? Is gcc's inbuilt software float reasonably well optimised, or can it be beaten with a little effort?
At this point I realise I should hop on Google and do some more research, but from the people who have actually been working with the GP2x for a while I'd like to hear any opinions..