Vorporeal
Yes, no, I, this is.
Couldn't find a significantly better subforum to ask this, so I'll ask it here, I guess. I'm currently working on adding in a camera class into this game I'm writing. I'm not quite sure what the best way to implement it is. I've thought of two approaches: do trig calculations based on user input and then pass the calculated result to gluLookAt, or just keep track of the position and rotation, then use glTranslate and glRotate. NeHe's tutorials used glTranslate and glRotate, but that might just be that it's easier to do it that way and not have to worry about the trig calculations, or it might just be because it's the better way. Is either way inherently better or faster? Is there some other option that's better than either of those? I'm just trying to make sure I do it correctly the first time and not get myself into bad habits.
EDIT: I guess I should have put a question mark at the end of the topic title to avoid confusion, my bad.
EDIT: I guess I should have put a question mark at the end of the topic title to avoid confusion, my bad.