Quantcast
Channel: VBForums - Maths Forum
Viewing all articles
Browse latest Browse all 112

how calculate DDA on a grid?

$
0
0
the line have a start position:
X = 10
Y = 10
angle =30
the grid have 37 by 37.
the grid have 10 by 10 squares.
knowing these how can i calculate the line points square by square?

Viewing all articles
Browse latest Browse all 112

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>