|
From: Kevin M. <sub...@us...> - 2002-06-13 13:55:47
|
subatomic 2002/06/13 06:55:45 PDT
Modified files:
modules/GMTL/gmtl Point.h Vec.h VecBase.h
Log:
we shouldn't have constructors that one elt of DATATYPE. too easy for the
compiler to auto convert floats and doubles to a Vec or Point then. very
bad when you don't want it.
If you need a Vec1, use a DATATYPE instead.
Revision Changes Path
1.9 +2 -5 GGT/modules/GMTL/gmtl/Point.h
1.11 +2 -6 GGT/modules/GMTL/gmtl/Vec.h
1.9 +2 -3 GGT/modules/GMTL/gmtl/VecBase.h
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/ggt/GGT/modules/GMTL/gmtl/Point.h.diff?r1=1.8&r2=1.9&diff_format=l
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/ggt/GGT/modules/GMTL/gmtl/Vec.h.diff?r1=1.10&r2=1.11&diff_format=l
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/ggt/GGT/modules/GMTL/gmtl/VecBase.h.diff?r1=1.8&r2=1.9&diff_format=l
|