You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With usage of concepts, operator overloading and casts write type that represents squared distance. It will be useful when comparing distances without use of square root calculation in order to prevent unnecessary bugs.
Best if the type is a template that can be applied to any numeric type.
Replace the return type in Barta::Vector2f::norm and other functions accordingly.
The text was updated successfully, but these errors were encountered:
With usage of concepts, operator overloading and casts write type that represents squared distance. It will be useful when comparing distances without use of square root calculation in order to prevent unnecessary bugs.
Best if the type is a template that can be applied to any numeric type.
Replace the return type in
Barta::Vector2f::norm
and other functions accordingly.The text was updated successfully, but these errors were encountered: