Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.18 seconds.

  1. Replies
    7
    Views
    2,670

    [SOLVED] Re: Drawing lines using angles in Java HELP

    Well, you're adding 90 to the hours and minutes and not an angle, which doesn't really make sense to me.
  2. Replies
    7
    Views
    2,670

    [SOLVED] Re: Drawing lines using angles in Java HELP

    Depending on how you're doing it, 6:00 shouldn't be 180 degrees, it's 90 degrees. You're assuming that straight up (12:00) is 0 degrees, but I believe that 0 degrees is heading straight to the right,...
  3. Replies
    7
    Views
    2,670

    [SOLVED] Re: Drawing lines using angles in Java HELP

    I'd suggest throwing together an SSCCE that we can play with. I'm not sure I quite understand all the magic numbers in your code. Also note that the Math class has handy methods for converting...
Results 1 to 3 of 3