From: Kevin M. <ke...@vr...> - 2002-05-30 02:34:12
|
I don't agree. they are both creational. each takes data as input to seed that creation. *--*---*---*----*-----*------*------*-----*----*---*---*--* Kevin Meinert /_/ http://www.vrac.iastate.edu/~kevn \ / Virtual Reality Applications Center \/ __ \/ Howe Hall, Iowa State University, Ames Iowa \__ \_\ On Wed, 29 May 2002, Ben Scott wrote: > The semantics are different because makeTrans<Matrix>(Vec) is purely > creational whereas makeTrans<Vec>(Matrix) is a retrieval function. > makeTrans<Vec>(Matrix) is creational only as a byproduct of the fact that > the data it needs to return must be in vector form. > > ----- > Ben Scott > Research Assistant VRAC > bs...@ia... > > On Wed, 29 May 2002, Kevin Meinert wrote: > > > > > the semantics of all make functions are that they take input data, and > > create something. > > > > the beauty of it is that you can insert arbitrary data (usually as long as > > we implement the funcs) > > > > > Matrix makeTrans<Matrix>(Vec) > > > Vec makeTrans<Vec>(Matrix) > > > > and even > > Matrix makeTrans<Matrix>(Matrix) > > > > are all ways to get data types from others. I guess I don't see how this > > breaks any semantics. The make functions are still object oriented in the > > sense that they are factories, or constructors of objects. > > > > as soon as you understand this point, they should be usable. > > > > does that clear it up? > > > > > > kevin > > > > > > _______________________________________________________________ > > > > 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 > > > |