the vglTriangleLine() function which draws the pixels takes the very most time.
and i tried to make example code:
i tested this on my x86 machine. using fixpoints: 360 ms, using floats: 12500 ms. i haven't tested it on my x64 machine yet, tho.
using namespace std;
#define USE_FIXINT // comment this out if you want float instead of fixpoints
typedef __int32 fixint;
typedef float fixint;
int clo = clock();
fixint x = 10, y = 2;
for (int i = 0; i < 100000000; i++)
x *= y;
cout << (clock() - clo) << endl;
edit: i asked a friend, he said that my other machine propably has a FPU (floating processing unit) which can process floats faster than i can process fixed ints. can this be true?