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
path: root/extern
diff options
context:
space:
mode:
authorErwin Coumans <blender@erwincoumans.com>2005-07-19 08:11:47 +0400
committerErwin Coumans <blender@erwincoumans.com>2005-07-19 08:11:47 +0400
commit2dbb9409df34d107ef4402d8b2daf6da3158312e (patch)
treea9cdbefd61a092ba739396bcfaa8f28631f070b7 /extern
parent09b527263951781290af8461476dcd9ed5394c37 (diff)
initialize simd quad in default constructor
this should not be necessary, its for testing
Diffstat (limited to 'extern')
-rw-r--r--extern/bullet/LinearMath/SimdQuadWord.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/extern/bullet/LinearMath/SimdQuadWord.h b/extern/bullet/LinearMath/SimdQuadWord.h
index cf720ef4b32..efce56617a6 100644
--- a/extern/bullet/LinearMath/SimdQuadWord.h
+++ b/extern/bullet/LinearMath/SimdQuadWord.h
@@ -92,13 +92,16 @@ class SimdQuadWord
}
SIMD_FORCE_INLINE SimdQuadWord()
+ :m_x(0),m_y(0),m_z(0)
+ //todo, remove this in release/simd ?
+ ,m_unusedW(0)
{
}
SIMD_FORCE_INLINE SimdQuadWord(const SimdScalar& x, const SimdScalar& y, const SimdScalar& z)
:m_x(x),m_y(y),m_z(z)
//todo, remove this in release/simd ?
- ,m_unusedW(1e30f)
+ ,m_unusedW(0)
{
}