Hi everybody,
I suggest that the vector2d and vector3d classes be really template classes.
Indeed, the ISceneNode::setPosition method takes as an argument a 'vector3df', whereas I would like to pass a vector3d<double>...
Why isn't there templates everywhere?
Request: real template-class vector
Anyway, if you want a specific range, you do not want float, since the quality of float will vary. You integet want integer, based on your smallest unit (a very big integer, called, guess what, big int), or a fixed point system built again on the same integer. But better yet, you can split your game's world in sections or bucket, and consider everything in one such section as being from point 0.0 in the middle of it. That way you can mix and match integer and floats. Lots of documentation on that specific subject, look around m8.