mirror of
https://github.com/SFML/SFML.git
synced 2025-02-07 17:08:02 +08:00
When dealing with calculations that are fundamentally two dimensional it's helpful to use a 2D data type as much as possible rather than decomposing the calculations into x and y components. The more we use vector operations the better chance we have of easiliy reasoning about what the code is doing.