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

@ -39,7 +39,7 @@
class Point4I
{
public:
Point4I() {}
Point4I() :x(0), y(0), z(0), w(0) {}
Point4I(S32 _x, S32 _y, S32 _z, S32 _w);
void zero(); ///< Zero all values
@ -127,6 +127,7 @@ inline void Point4I::zero()
//-------------------------------------- Point4F
//
inline Point4F::Point4F()
:x(0.0f), y(0.0f), z(0.0f), w(0.0f)
{
}