[−][src]Module rusty_gfx::util
Functions
angle_facing | Compute the direction (angle in radians, where 0 is in the positive x direction) from v1 to v2 |
clamp_vec_to_magnitude | If the length of a vector is longer than |
rand_in_square | Given a length of a side of a square centered at (0.0, 0.0), return a Vec2 that resides somewhere within it. |