---
title: "Discussion on \"3. DDA Line Drawing Algorithm in C++ using GLUT Basic\" | Hashnode"
description: "Discussion on \"3. DDA Line Drawing Algorithm in C++ using GLUT Basic\". DDA Line Drawing Algorithm Given 2 point (x1, y1) to (x2,y2)\n      ```\n      1. Read Line end point (x1,y1)(x2,y2)\n      2. ∆x = |x2-x1| , ∆y = |y2-y1|\n      3. If(∆x ≥ ∆y)\n                    Then  Length = ∆x\n           Else \n                      ..."
url: "https://hashnode.com/posts/3-dda-line-drawing-algorithm-in-c-using-glut-basic/603d36a9c3970d02fe0fdefa"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [3\. DDA Line Drawing Algorithm in C++ using GLUT Basic](https://rajkumarpatil.hashnode.dev/3-dda-line-drawing-algorithm-in-c-using-glut-basic?utm_source=hashnode&utm_medium=feed)

DDA Line Drawing Algorithm Given 2 point (x1, y1) to (x2,y2) \`\`\` 1. Read Line end point (x1,y1)(x2,y2) 2. ∆x = |x2-x1| , ∆y = |y2-y1| 3. If(∆x ≥ ∆y) Then Length = ∆x Else ...

Mar 1, 2021 · 3 min read · rajkumarpatil.hashnode.dev  
Updated Mar 3, 2021  
Read the article

-   [#graphics](https://hashnode.com/tag/graphics)

## Written by

[Rajkumar V Patil](https://hashnode.com/@rajkumarpatil)

@rajkumarpatil

  
[View profile](https://hashnode.com/@rajkumarpatil)

Assistant Professor at NBN Sinhgad School of Engineering, Pune

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
