@@ -46,7 +46,7 @@ struct BoundingSphere
4646 float Radius; // Radius of the sphere.
4747
4848 // Creators
49- BoundingSphere () : Center(0 ,0 , 0 ), Radius( 1 .f ) {}
49+ BoundingSphere () throw () : Center(0 , 0 , 0 ), Radius(1 .f) {}
5050
5151 BoundingSphere (const BoundingSphere&) = default ;
5252 BoundingSphere& operator =(const BoundingSphere&) = default ;
@@ -112,7 +112,7 @@ struct BoundingBox
112112 XMFLOAT3 Extents; // Distance from the center to each side.
113113
114114 // Creators
115- BoundingBox () : Center(0 ,0 , 0 ), Extents( 1 .f, 1 .f, 1 .f ) {}
115+ BoundingBox () throw () : Center(0 , 0 , 0 ), Extents(1 .f, 1 .f, 1 .f) {}
116116
117117 BoundingBox (const BoundingBox&) = default ;
118118 BoundingBox& operator =(const BoundingBox&) = default ;
@@ -179,7 +179,7 @@ struct BoundingOrientedBox
179179 XMFLOAT4 Orientation; // Unit quaternion representing rotation (box -> world).
180180
181181 // Creators
182- BoundingOrientedBox () : Center(0 ,0 , 0 ), Extents( 1 .f, 1 .f, 1 .f ), Orientation(0 ,0 , 0 , 1 .f ) {}
182+ BoundingOrientedBox () throw () : Center(0 , 0 , 0 ), Extents(1 .f, 1 .f, 1 .f), Orientation(0 , 0 , 0 , 1 .f) {}
183183
184184 BoundingOrientedBox (const BoundingOrientedBox&) = default ;
185185 BoundingOrientedBox& operator =(const BoundingOrientedBox&) = default ;
@@ -248,8 +248,9 @@ struct BoundingFrustum
248248 float Near, Far; // Z of the near plane and far plane.
249249
250250 // Creators
251- BoundingFrustum () : Origin(0 ,0 ,0 ), Orientation(0 ,0 ,0 , 1 .f), RightSlope( 1 .f ), LeftSlope( -1 .f ),
252- TopSlope ( 1 .f ), BottomSlope( -1 .f ), Near(0 ), Far( 1 .f ) {}
251+ BoundingFrustum () throw () :
252+ Origin (0 , 0 , 0 ), Orientation(0 , 0 , 0 , 1 .f), RightSlope(1 .f), LeftSlope(-1 .f),
253+ TopSlope (1 .f), BottomSlope(-1 .f), Near(0 ), Far(1 .f) {}
253254
254255 BoundingFrustum (const BoundingFrustum&) = default ;
255256 BoundingFrustum& operator =(const BoundingFrustum&) = default ;
0 commit comments