|
From: Allen B. <al...@vr...> - 2003-09-23 19:08:09
|
Ben Scott wrote: >>Sounds like a good idea to me. I would think a GetColumn and a GetRow >>method would be helpful. >> >>As far as where to put it, we could make it a gmtl method. Something >>like: >> >>gmtl::getColumn(unsigned col, Matrix& mat, Vec& vec) >> >>and/or >> >>Vec gmtl::getColumn(unsigned col, Matrix& mat) >> >>What do you guys think? > > > I've currently got it written last night as: > > void setColumn(Vec& vec, const Matrix& mat, unsigned col); > Vec makeColumn(const Matrix& mat, unsigned col); > > I've also written row equivalents. They're just waiting to be committed. Well, what are your waiting for? :) Go ahead and commit them (and their associated test cases) so we can start playing. -Allen -- -- Allen Bierbaum al...@vr... -- -- VR Juggler Team www.vrjuggler.org -- -- Virtual Reality Applications Center www.vrac.iastate.edu -- |