David Megginson wrote: > Andy Ross wrote: > > Nit: those should be sgMat4's, right? Or are you returning a > > pointer to an array of four vectors? > > Returning sgMat4's seems to cause compiler problems, and this is how > Norm had it before.
Why not use an "output" parameter then: void getWhateverMatrix(sgMat4* out); Returning a bunch of vectors seems kinda hackish. You either have to do some needless shuffling to put them back into a matrix or cast the result in place to a matrix. It also opens the door to convention bugs (are these the rows or columns? OpenGL or C style? etc...) Andy -- Andrew J. Ross NextBus Information Systems Senior Software Engineer Emeryville, CA [EMAIL PROTECTED] http://www.nextbus.com "Men go crazy in conflagrations. They only get better one by one." - Sting (misquoted) _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel