Christopher R Volpe (volpe++at++ash.crd.ge.com)
Wed, 09 Apr 1997 14:20:01 -0400
The man page for pfLightSource gives the following piece of sample
code:
/* Time of day is high noon */
sun->setPos(0.0f, 1.0f, 0.0f, 0.0f);
Since the up direction is +Z (according to the Programmer's Guide page
95), shouldn't this code be as follows:
/* Time of day is high noon */
sun->setPos(0.0f, 0.0f, 1.0f, 0.0f);
Is this a documentation error or am I misinterpreting something?
thanks,
Chris
--Chris Volpe Phone: (518) 387-7766 GE Corporate R&D Fax: (518) 387-6560 PO Box 8 Email: volpecr++at++crd.ge.com Schenectady, NY 12301 Web: http://www.crd.ge.com/~volpecr ======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:02 PDT