Browse Source

Include the dummy floats in BoundingBox regardless of URHO3D_SSE to prevent ABI incompatibility if URHO3D_SSE has different value in the client application.

Lasse Öörni 10 years ago
parent
commit
c1cc27c888
1 changed files with 0 additions and 4 deletions
  1. 0 4
      Source/Urho3D/Math/BoundingBox.h

+ 0 - 4
Source/Urho3D/Math/BoundingBox.h

@@ -317,14 +317,10 @@ public:
 
 
     /// Minimum vector.
     /// Minimum vector.
     Vector3 min_;
     Vector3 min_;
-#ifdef URHO3D_SSE
     float dummyMin_; // This is never used, but exists to pad the min_ value to four floats.
     float dummyMin_; // This is never used, but exists to pad the min_ value to four floats.
-#endif
     /// Maximum vector.
     /// Maximum vector.
     Vector3 max_;
     Vector3 max_;
-#ifdef URHO3D_SSE
     float dummyMax_; // This is never used, but exists to pad the max_ value to four floats.
     float dummyMax_; // This is never used, but exists to pad the max_ value to four floats.
-#endif
 };
 };
 
 
 }
 }