[Plib-devel] LookAt
Brought to you by:
sjbaker
From: Dave M. <Dav...@dy...> - 2000-08-03 18:38:48
|
I ported gluLookAt to SSG, tested it, and committed the changes void ssgLookAt ( SGfloat eyex, SGfloat eyey, SGfloat eyez, SGfloat centerx, SGfloat centery, SGfloat centerz, SGfloat upx, SGfloat upy, SGfloat upz ) It has the same caveats as the original... 1) In order to compute the line of sight, the eye point must not be equal to the center point. 2) The up vector must not be parallel to the line of sight from the eye to the center point. Also, examples/src/util/test_dir is checked in if someone wants to try and compile/test it under unix for me. thanks, --Dave |