mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
uninitialized variables-t3d
This commit is contained in:
parent
87603029db
commit
fabd5864fa
27 changed files with 102 additions and 23 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue