From: Allen B. <al...@vr...> - 2002-05-29 22:00:19
|
Ben Scott wrote: > > Soon makeTrans will be overloaded to support 2 functions with different > semantics. The first, What is different about the semantics. The function does the same thing "makes a translation <thing>", it just work on different parameters. -Allen > Matrix makeTrans<Matrix>(Vec) > > will create a new matrix containing the translation transformation > described by the given Vec. The second, > > Vec makeTrans<Vec>(Matrix) > > will create a new vector describing the translation transformation > embedded in the given Matrix. > > To me, functions with the same name but having different semantics goes > against the grain for standard object oriented training and experience and > will make usability much more difficult. Especially thinking of the > upcoming transition of VRAC personnel to using VRJuggler 1.1 and GMTL, I > believe issues like this will cause the greatest problems. > > Kevin, I know you might feel like I'm rehashing our discussion earlier, > but this particular situation is different than our discussions about the > difference between getTrans and makeTrans. > > I would love to hear your thoughts on my comments. > > cheers, > ----- > Ben Scott > Research Assistant VRAC > bs...@ia... > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > _______________________________________________ > ggt-devel mailing list > ggt...@li... > https://lists.sourceforge.net/lists/listinfo/ggt-devel -- Allen Bierbaum al...@vr... -- -- PhD Candidate txtmsg - 515...@us... -- -- VR Juggler Team http://www.vrjuggler.org -- -- Virtual Reality Applications Lab http://www.vrac.iastate.edu -- -- Iowa State University http://www.iastate.edu -- |