diff options
author | Erwin Coumans <blender@erwincoumans.com> | 2005-10-30 09:44:42 +0300 |
---|---|---|
committer | Erwin Coumans <blender@erwincoumans.com> | 2005-10-30 09:44:42 +0300 |
commit | 281f236e6ea4838d121b0872475520fac36d03f7 (patch) | |
tree | 418fc8d0957bced577d9a7e8b733cbc22f7b383d /extern/bullet/Bullet/CollisionShapes/ConeShape.cpp | |
parent | cb9988332ad1a65390a94865092d86e961e85c66 (diff) |
Minor changes in Bullet:
- on Ton's request use double versions of cos,sin,tan, sqrt etc.
just like Solid in MT_Scalar #if defined (__sun) || defined (__sun__) || defined (__sparc) || defined (__APPLE__)
- updated an url in the header of files
Diffstat (limited to 'extern/bullet/Bullet/CollisionShapes/ConeShape.cpp')
-rw-r--r-- | extern/bullet/Bullet/CollisionShapes/ConeShape.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extern/bullet/Bullet/CollisionShapes/ConeShape.cpp b/extern/bullet/Bullet/CollisionShapes/ConeShape.cpp index 40e762125ac..07db8822f7e 100644 --- a/extern/bullet/Bullet/CollisionShapes/ConeShape.cpp +++ b/extern/bullet/Bullet/CollisionShapes/ConeShape.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005 Erwin Coumans http://www.erwincoumans.com + * Copyright (c) 2005 Erwin Coumans http://continuousphysics.com/Bullet/ * * Permission to use, copy, modify, distribute and sell this software * and its documentation for any purpose is hereby granted without fee, @@ -41,7 +41,7 @@ SimdVector3 ConeShape::ConeLocalSupport(const SimdVector3& v) const return tmp; } else { - SimdScalar s = sqrtf(v[coneindices[0]] * v[coneindices[0]] + v[coneindices[2]] * v[coneindices[2]]); + SimdScalar s = SimdSqrt(v[coneindices[0]] * v[coneindices[0]] + v[coneindices[2]] * v[coneindices[2]]); if (s > SIMD_EPSILON) { SimdScalar d = m_radius / s; SimdVector3 tmp; |