8 protected float m_fRadius;
11 protected float m_fHeightMinor;
13 private float m_fRadiusSq;
14 private vector m_vPos;
19 if (!param.isDirty)
return;
21 m_vPos = param.transform[3];
24 if (vector.DistanceSqXZ(m_vPos, vector.Zero) > m_fRadiusSq)
26 float angle = Math.Atan2(m_vPos[0], m_vPos[2]);
32 m_vPos[1] = Math.Clamp(m_vPos[1], -m_fHeightMinor, m_fHeightMinor);
34 param.transform[3] = m_vPos;
38 override bool EOnCameraInit()