void AABB::update(const float deltaTime, const Vector3 & translate) { Vector3 tran = translate; tran.Multiply(deltaTime); m_Max += tran; m_Min += tran; }
Vector3 operator-(Vector3 const& other) const { return this->Add(other.Multiply(-1)); }