Added a bunch of new options and tools to the character editor

This commit is contained in:
parax0
2016-05-02 05:23:16 -06:00
parent 7880dd34f4
commit 2db740e572
10 changed files with 367 additions and 41 deletions

View File

@@ -179,6 +179,18 @@ void CCamera::SetOrbit(const CAABox& OrbitTarget, float DistScale /*= 4.f*/)
}
}
void CCamera::SetOrbitTarget(const CVector3f& rkOrbitTarget)
{
mOrbitTarget = rkOrbitTarget;
if (mMode == eOrbitCamera)
{
mTransformDirty = true;
mViewDirty = true;
mFrustumPlanesDirty = true;
}
}
void CCamera::SetOrbitDistance(float Distance)
{
mOrbitDistance = Distance;