Searched refs:GetCenter (Results 1 – 4 of 4) sorted by relevance
99 float left = m_Resource.GetRect().GetCenter().x - halfWidth; in Update()100 float right = m_Resource.GetRect().GetCenter().x + halfWidth; in Update()101 float bottom = m_Resource.GetRect().GetCenter().y - halfHeight; in Update()102 float top = m_Resource.GetRect().GetCenter().y + halfHeight; in Update()
102 float left = m_Resource.GetRect().GetCenter().x - halfWidth; in Update()103 float right = m_Resource.GetRect().GetCenter().x + halfWidth; in Update()104 float bottom = m_Resource.GetRect().GetCenter().y - halfHeight; in Update()105 float top = m_Resource.GetRect().GetCenter().y + halfHeight; in Update()
506 rect.Set(floatValue, rect.GetHeight(), rect.GetCenter()); in SetValue()514 rect.Set(rect.GetAspectRatio(), floatValue, rect.GetCenter()); in SetValue()
136 nw::math::VEC2 GetCenter() const { return m_Center; } in GetCenter() function