This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
///@function point_distance_squared(x1, y1, x2, y2) | |
///@desc Compare distances while avoiding square roots! If you must compare | |
/// the result with a non squared value... simply square it! | |
/// if(point_distance_squared() > max * max){ | |
/// | |
/// } | |
///@param x1 | |
///@param y1 | |
///@param x2 | |
///@param y2 |