Make conversions from math types to String explicit, to avoid accidental conversions.

This commit is contained in:
Lukas Tenbrink
2025-06-09 01:58:18 +02:00
parent 9e02194297
commit ed836df150
25 changed files with 55 additions and 55 deletions

View File

@ -131,7 +131,7 @@ struct [[nodiscard]] AABB {
return position + (size * 0.5f);
}
operator String() const;
explicit operator String() const;
AABB() = default;
constexpr AABB(const Vector3 &p_pos, const Vector3 &p_size) :