Re: [Plib-users] Invert?
Brought to you by:
sjbaker
From: Brad C. <bco...@ac...> - 2000-05-24 16:08:39
|
Steve, In version 1.0.20 doing a search on all files I was unable to find a reference to sgInvertMat4. Do I have a wrong version? Is it safe to use this function to get the inverse of the projection matrix? Thanks, Brad ----- Original Message ----- From: "Steve Baker" <sjb...@ai...> To: <pli...@li...> Sent: Wednesday, May 24, 2000 5:12 AM Subject: Re: [Plib-users] Invert? > Brad Colbert wrote: > > > What happened to the matrix inversion routines that are in the sg documentation? > > *Nothing* happened! They are alive and well...I use them all the time. > > For general matrices: > > void sgInvertMat4 ( sgMat4 dst, const sgMat4 src ) ; > void sgInvertMat4 ( sgMat4 dst ) ; > > But *much* faster - if you know that the matrix is a simple > rotate+translate then: > > void sgTransposeNegateMat4 ( sgMat4 dst, const sgMat4 src ) ; > void sgTransposeNegateMat4 ( sgMat4 dst ) ; > > ...and of course there are double-precision versions. > > Hmmm - the documentation seems to be correct...they work OK... > > What's your problem?!? > > -- > Steve Baker http://web2.airmail.net/sjbaker1 > sjb...@ai... (home) http://www.woodsoup.org/~sbaker > sj...@ht... (work) > > _______________________________________________ > plib-users mailing list > pli...@li... > http://lists.sourceforge.net/mailman/listinfo/plib-users > |