Looked through topics on the forums and PRs/issues in the github project and haven't succeeded (maybe just inattentive).
In most of libraries vector classes come along with multiple operation overloads.
I think sf::Vector* family would be good to have element-wise multiplication and division as well.
It's easy to find a suitable example. Let's say...
sf::RenderTarget target = ...;
sf::FloatRect cropArea = ...;
sf::View view;
view.setCenter(cropArea.size / 2.f); // <===== We have such overload
view.setSize(cropArea.size);
view.setViewport({
cropArea.position / sf::Vector2f(target.getSize()), // <===== No such overload
cropArea.size / sf::Vector2f(target.getSize()), // <===== No such overload
});
target.setView(view);
One could argue that SFML isn't a math library, there's GLM and so on.
However I doubt it's fun to make multiple type conversions for a example like one above.
I'd gladly contribute the feature if it's fine.