mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-18 09:25:31 +00:00
Added a bunch of new options and tools to the character editor
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user