libGDX – Useful Vector Utilities

Below are some useful vector functions we have written during the years and wanted to share. Enjoy! Convert World Coordinates to Screen Coordinates /** * WolrdToScreen * Converts XY world coordinates to screen coordinates * @param x - X world coordinate * @param y - Y world coordinate * @param camera - camera * [...]