daanmichiels / igl-hr

Hyperbolic space on the Oculus Rift
3 stars 0 forks source link

Roundoff in CameraControls #10

Closed daanmichiels closed 10 years ago

daanmichiels commented 10 years ago

When you look around, turning circles (moving your mouse very far to the right or left), eventually the hyperbolic space will look wrong (compressed vertically). I suspect this may be roundoff.

daanmichiels commented 10 years ago

A printout of the 'right' vector shows that it indeed changes length. It becomes much shorter.

daanmichiels commented 10 years ago

Now using correct_roundoff to prevent this. Seems to work well.