Nand2Tetris Questions and Answers Forum
›
Operating System
›
Project 12
Search
everywhere
only in this topic
Advanced Search
Drawing a line when x1 or y1 greater than x2 or y2?
Classic
List
Threaded
♦
♦
Locked
2 messages
Henoktes722
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
Drawing a line when x1 or y1 greater than x2 or y2?
My program draws correctly if dx, dy > 0. But what if dx or dy less than 0?
Henoktes722
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
Re: Drawing a line when x1 or y1 greater than x2 or y2?
Okay, I got it using the algorithms you gave as a reference.
Free forum by Nabble
Edit this page