@@ -68,7 +68,7 @@ ls::math::core::type::vector2_component ls::math::vector::Vector2::getY()
ls::math::vector::Vector2 ls::math::vector::Vector2::normalize()
{
- double length = ls::math::vector::Vector2::_getLength(this->components[0], this->components[1]);
+ double length = ls::math::vector::Vector2::_getLength(this->components[0], this->components[1]) + std::numeric_limits<double>::min();
return ls::math::vector::Vector2::_operatorDivision(this->components[0], this->components[1], length);
}