Structs§

Functions§

  • Bresenham’s line algorithm; returns an iterator of all points. Adapted from https://github.com/madbence/node-bresenham
  • Rasterizes triangle onto a BinaryImage
  • Walk through all points of this triangle via iterator. Adapted from https://github.com/rastapasta/points-in-triangle