Krakken wrote:I'm just wondering why an engine where so many optimizations have been made still uses the 'float' type when many mobile devices have to emulate this type slowly.
Hello!
Well it's so few operations involved, and they are only performed maybe 20-30 times per second. So the CPU hit is not really measurable. On stationary PCs GapiDraw uses QueryPerformanceCounter, which makes it hard to not work with floats on so large values. So to keep the code clean we opted for the same float types on both mobile and stationary computers, despite that GapiDraw uses ticks on the mobile device for timer resolution.
Cheers
Johan