public bool IntersectsPoint(Vector worldPosition, ulong time) { IMotion motion = m_Path.GetCurrentMotion(time); var objectPosition = motion.GetCurrentPosition(time); return(m_Bounds.Contains(worldPosition, objectPosition)); }
public void BecauseOf() { m_Path = Get<IPath>(); m_Motion = Get<IMotion>(); m_Path.GetCurrentMotion(Arg.Any<ulong>()).Returns(m_Motion); m_SelectableObject = new SelectableObject(m_TestObjectName, m_Path); }
public void BecauseOf() { m_Path = Get <IPath>(); m_Motion = Get <IMotion>(); m_Path.GetCurrentMotion(Arg.Any <ulong>()).Returns(m_Motion); m_SelectableObject = new SelectableObject(m_TestObjectName, m_Path); }