Can you give me a quick rundown on what these are? I see one comment in the code that stays: // calculate position (= center of ellipse --> + 1) and velocity in eSpace After the comment, is the line:
vector3<float> eSpacePosition (Position.x() / eRadius.x() + 1, Position.y() / eRadius.y() + 1, Position.z() / eRadius.z() + 1); Given the comment, I would have expected something along the lines of: vector3<float> eSpacePosition (Position.x() + eRadius.x() + 1,
Position.y() + eRadius.y() + 1, Position.z() + eRadius.z() + 1);
I looks like it's really changing coordinate space also (so that one unit in eSpace = one Radius of the object). I'm just not sure how this is useful, and how you would compare it to another object with different dimensions.