Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'extern/bullet2/src/LinearMath/btMatrixX.h')
-rw-r--r--extern/bullet2/src/LinearMath/btMatrixX.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/extern/bullet2/src/LinearMath/btMatrixX.h b/extern/bullet2/src/LinearMath/btMatrixX.h
index 865d77967a9..42caed42eff 100644
--- a/extern/bullet2/src/LinearMath/btMatrixX.h
+++ b/extern/bullet2/src/LinearMath/btMatrixX.h
@@ -19,6 +19,7 @@ subject to the following restrictions:
#include "LinearMath/btQuickprof.h"
#include "LinearMath/btAlignedObjectArray.h"
+#include <stdio.h>
//#define BT_DEBUG_OSTREAM
#ifdef BT_DEBUG_OSTREAM
@@ -94,7 +95,7 @@ struct btVectorX
{
T temp;
temp = scale / absxi;
- ssq = ssq * (temp * temp) + 1.0;
+ ssq = ssq * (temp * temp) + BT_ONE;
scale = absxi;
}
else
@@ -354,11 +355,11 @@ struct btMatrixX
for (int i=0; i < res.rows(); ++i)
{
T dotProd=0;
- T dotProd2=0;
- int waste=0,waste2=0;
+// T dotProd2=0;
+ //int waste=0,waste2=0;
{
- bool useOtherCol = true;
+// bool useOtherCol = true;
{
for (int v=0;v<rows();v++)
{