Page 2 of 2 FirstFirst 12
Results 21 to 25 of 25
  1. #21
    SJF
    SJF is offline Senior Member
    Join Date
    Oct 2012
    Posts
    108
    Rep Power
    0

    Default Re: How to rotate the output of an array 90 degrees clockwise

    How to rotate the output of an array 90 degrees clockwise-rxc.png

  2. #22
    JosAH's Avatar
    JosAH is online now Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,435
    Blog Entries
    7
    Rep Power
    20

    Default Re: How to rotate the output of an array 90 degrees clockwise

    Quote Originally Posted by Hazza View Post
    Jos I tried doing it your way but it still prints upside down!
    You have to show us your code because obviously there's something rotten in it ...

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  3. #23
    Hazza is offline Member
    Join Date
    Oct 2012
    Posts
    64
    Rep Power
    0

    Default Re: How to rotate the output of an array 90 degrees clockwise

    That's ok I have got it all now, thanks for your help everybody I owe you all a virtual drink :D!

  4. #24
    behla is offline Member
    Join Date
    Nov 2012
    Posts
    1
    Rep Power
    0

    Default Re: How to rotate the output of an array 90 degrees clockwise

    Quote Originally Posted by Hazza View Post
    That's ok I have got it all now, thanks for your help everybody I owe you all a virtual drink :D!
    Hey there,

    I'm having quite a similar problem (I think). I'm using a different graphical output and a 3D array, but my output seems to be upside down for some reason as well. My array and the loops seem to be fine, so I'm not sure why this is even happening. Would you mind sharing how you managed to get it right?

    Kind regards

    Bela

  5. #25
    Hazza is offline Member
    Join Date
    Oct 2012
    Posts
    64
    Rep Power
    0

    Default Re: How to rotate the output of an array 90 degrees clockwise

    Hi Bela sorry I haven't checked this forum since finishing my program (busy doing other modules). Mine read upside down initially but what I did was reverse the loop that reads the rows so it started at the bottom and then worked up to the first row, hopefully that should work on yours as well.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Help to rotate a pic 180 degrees (upside down)
    By Track13 in forum New To Java
    Replies: 7
    Last Post: 11-16-2012, 04:27 AM
  2. Math.atan --- To Degrees Help
    By GregoryNeal in forum New To Java
    Replies: 1
    Last Post: 03-07-2012, 06:54 AM
  3. Rotating an image 90 Degrees
    By cvillejin in forum New To Java
    Replies: 4
    Last Post: 04-03-2011, 07:56 PM
  4. Radians to Degrees issue?
    By Joey Gobert in forum Advanced Java
    Replies: 5
    Last Post: 12-15-2010, 08:41 PM
  5. help w/ conversion of degrees(CtoF, FtoC)
    By clemsontigers in forum New To Java
    Replies: 11
    Last Post: 11-08-2010, 09:57 PM

Tags for this Thread

Posting Permissions

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