Update changelog.

Formatting fixes.
This commit is contained in:
castano 2009-06-14 08:23:56 +00:00
parent 7629e396b8
commit 5be5a6b922
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,7 @@
NVIDIA Texture Tools version 2.0.7 NVIDIA Texture Tools version 2.0.7
* Output correct exit codes. Fixes issue 92. * Output correct exit codes. Fixes issue 92.
* Fix thread-safety errors. Fixes issue 90. * Fix thread-safety errors. Fixes issue 90.
* Add SIMD power method. Fixes issue 94.
NVIDIA Texture Tools version 2.0.6 NVIDIA Texture Tools version 2.0.6
* Fix dll version checking. * Fix dll version checking.

View File

@ -94,7 +94,8 @@ Vec3 ComputePrincipleComponent( Sym3x3 const& matrix )
const int NUM = 8; const int NUM = 8;
Vec3 v(1, 1, 1); Vec3 v(1, 1, 1);
for (int i = 0; i < POWER_ITERATION_COUNT; i++) { for (int i = 0; i < POWER_ITERATION_COUNT; i++)
{
float x = v.X() * matrix[0] + v.Y() * matrix[1] + v.Z() * matrix[2]; float x = v.X() * matrix[0] + v.Y() * matrix[1] + v.Z() * matrix[2];
float y = v.X() * matrix[1] + v.Y() * matrix[3] + v.Z() * matrix[4]; float y = v.X() * matrix[1] + v.Y() * matrix[3] + v.Z() * matrix[4];
float z = v.X() * matrix[2] + v.Y() * matrix[4] + v.Z() * matrix[5]; float z = v.X() * matrix[2] + v.Y() * matrix[4] + v.Z() * matrix[5];