uninitialized variables-math

This commit is contained in:
AzaezelX 2020-05-11 16:17:40 -05:00
parent 5f59ebbacc
commit ebb7ed1b78
13 changed files with 32 additions and 19 deletions

View file

@ -66,7 +66,7 @@ class PlaneF : public Point3F
/// @name Initialization
/// @{
PlaneF() {}
PlaneF() :d(0.0f) {}
PlaneF( const Point3F& p, const Point3F& n );
/// NOTE: d is the NEGATIVE distance along the xyz normal.
PlaneF( F32 _x, F32 _y, F32 _z, F32 _d);
@ -571,6 +571,7 @@ public:
inline PlaneD::PlaneD()
{
d = 0.0;
}
inline PlaneD::