From: <l3...@us...> - 2008-01-23 14:16:39
|
Revision: 117 http://vmmlib.svn.sourceforge.net/vmmlib/?rev=117&view=rev Author: l3m Date: 2008-01-23 06:16:41 -0800 (Wed, 23 Jan 2008) Log Message: ----------- added some optimizations to normalize functions of vector3 and vector4 ( ll = 1.0 / lenght, then components *= ll, instead of components /= len ) - a little test i wrote showed performance gains of 25% and more when using doubles and -O3. Modified Paths: -------------- trunk/include/vmmlib/vector3.h trunk/include/vmmlib/vector4.h This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |