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

@ -73,7 +73,7 @@ public:
struct Sample
{
Sample() {}
Sample() :mF(0) { dMemset(&mVal, 0, sizeof(mVal)); }
Sample( F32 f, const T &val ) : mF(f), mVal(val) {}
F32 mF;