61-- / ehci

Automatically exported from code.google.com/p/ehci
0 stars 0 forks source link

In boxView3d demo, the camera is moving in the opposite expected direction. #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Execute the boxView3d sample

What is the expected output? What do you see instead?
It is expected that when the user moves to the right, the boxes will "move"
to the left. In version 0.4 the boxes are moving to the right.

It is just because the camera is now showing the mirror of what it is seeing.

Original issue reported on code.google.com by danielba...@gmail.com on 14 Aug 2008 at 4:09

GoogleCodeExporter commented 9 years ago
just do a minor modify to void DrawGLScene(void)

gluLookAt(5*normX ....)
-> gluLookAt(-5*normX ...)

then it works

Original comment by vinj...@gmail.com on 3 Nov 2008 at 1:13

GoogleCodeExporter commented 9 years ago
Comment accepted.

It is in SVN tag 199, probably out in build 0.6

Original comment by danielba...@gmail.com on 28 Feb 2009 at 12:01

GoogleCodeExporter commented 9 years ago

Original comment by danielba...@gmail.com on 28 Feb 2009 at 12:02