mirror of
https://github.com/SFML/SFML.git
synced 2025-02-08 01:18:02 +08:00
7c8d1b5332
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.