rust_sc2

Module geometry

Source
Expand description

Things you liked (hated) at school, now in SC2.

Countains various geometric primitives with useful helper methods.

Structsยง

  • Point on 2D grid, the most frequently used geometric primitive.
  • Point in 3D game world.
  • Rectangle from (x0, y0) to (x1, y1).
  • Size of 2D rectangle.