Re: [Plib-users] Invert?
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2000-05-24 12:10:01
|
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) |