O___o
Those guys certainly put a lot of work into what they do.
Hm. I think I'm comfortable with my one liner, if they're about the same speed. It's the only math function I actually need,...
Type: Posts; User: Josh@Dreamland
O___o
Those guys certainly put a lot of work into what they do.
Hm. I think I'm comfortable with my one liner, if they're about the same speed. It's the only math function I actually need,...
Yep. So I guess in the end all that really matters that it's working, and it's working pretty fast.
Though I can't see much difference between compilers, the code is actually for a large...
Either way, gentlemen (!!)
Putting the C Bible down, and looking at what I'm actually adding to the struct (which I'm actually coding in C++ anyway), this is what I'm leaving it as:
double ...
Hahaha. My syntax derivatives often generate that kind of reply.
And also, I can tell you and show you what's gonna happen. The memory is already allocated for that double, and thanks to the left...
Ah. I set the optimization as high as it would go.
Mine: 0.000000 ms
STDC: 16.000000 ms
So I guess that is likely a cause.
Either way, as common sense dictates, I'm going to stick with my...
Well, I was working on a structure for my own data type, when it came time to do modulus.
I was talking to a friend of mine, who recommended fmod() from math.h, but he told me it was painfully...
I suppose. But another game on that site, hit the monkey, I think it was. You have to move the mouse within the window to hit it. Having outside callback would enable better tracking altogether.
I...
I'll show you a game I ran into long ago where complete tracking of this may have been for the best. To cheat it, hit control-alt-delete, drag the window to where the mouse hovers over the start...
Where are you getting the list you need to load into memory? OR When are you adding to the list?
You could create a function that mallocs a new array of the first array's size +1, then copy the...
So I've been using GLUT as my window power for OpenGL, in some huge project I'm working on.
Two problems I have run into thus far:
1) GLUT doesn't give mouse motion callback outside the...