Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Does this exercise make sense?

  1. #1
    Junior Member Newbie
    Join Date
    Apr 2013
    Posts
    26

    Does this exercise make sense?

    I'm reading a book and I came up across this question
    Write a program to draw a circle on a canvas after two left clicks of the mouse. The first click picks the center and the second a point on the circle.

    the second should be the radius. Am I right?

  2. #2
    Senior Member OpenGL Guru Dark Photon's Avatar
    Join Date
    Oct 2004
    Location
    Druidia
    Posts
    3,190
    Quote Originally Posted by CroCodile View Post
    ...the second should be the radius. Am I right?
    The second should define the radius yes.

Posting Permissions

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