Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 315 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 315 Bytes

Line Drawing Algorithm in Unity C#

Refrence source - https://en.wikipedia.org/wiki/Line_drawing_algorithm Results pixel is set to Texture2D displayed on a flat Quad GameObject

Line Algorithms

  • DDA
  • Bresenham

TODO

  • Xiaolin-Wu
  • Gupta-Sproull

Related

Circle Drawing Algorithm

  • Mid-Point
  • Bresenham