uninitialized variables-t3d

This commit is contained in:
AzaezelX 2020-05-11 15:30:21 -05:00
parent 87603029db
commit fabd5864fa
27 changed files with 102 additions and 23 deletions

View file

@ -36,6 +36,7 @@ CameraSpline::Knot::Knot()
mSpeed = 0.0f;
mType = NORMAL;
mPath = SPLINE;
mDistance = 0.0f;
prev = NULL; next = NULL;
};
@ -46,6 +47,7 @@ CameraSpline::Knot::Knot(const Knot &k)
mSpeed = k.mSpeed;
mType = k.mType;
mPath = k.mPath;
mDistance = k.mDistance;
prev = NULL; next = NULL;
}
@ -56,6 +58,7 @@ CameraSpline::Knot::Knot(const Point3F &p, const QuatF &r, F32 s, Knot::Type typ
mSpeed = s;
mType = type;
mPath = path;
mDistance = 0.0f;
prev = NULL; next = NULL;
}