Merge pull request #1357 from Azaezel/ChaseCache

followobject position caching
This commit is contained in:
Daniel Buckmaster 2015-07-25 15:22:14 +10:00
commit 807aad826f
2 changed files with 6 additions and 0 deletions

View file

@ -122,10 +122,12 @@ private:
SimObjectPtr<SceneObject> object;
/// Distance at whcih to follow.
F32 radius;
Point3F lastPos;
/// Default constructor.
FollowData() : object(NULL)
{
radius = 5.0f;
lastPos = Point3F::Zero;
}
};