Results 1 to 7 of 7

Thread: [RESOLVED] drawing a triangle (general algorithm)

Threaded View

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    May 2003
    Location
    Sydney
    Posts
    1,123

    Resolved [RESOLVED] drawing a triangle (general algorithm)

    this is a general algorithm question. sorry, i could not find the right place for this. so here it goes.

    I have a line defined by 2 points a(x1,y1) and b(x2,y2). I want to draw a triangle as shown in the image.

    i know it can be done as i have done it before (6 years ago, vb6). now i can't remember how i did it and i don't have the code with me anymore to use as a reference.

    please help and thanks in advance.
    Attached Images Attached Images  

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width