DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/)
-   Geeks' Lounge (http://www.daniweb.com/forums/forum6.html)
-   -   12 hrs later (http://www.daniweb.com/forums/thread15466.html)

mortonl Dec 12th, 2004 3:37 pm
12 hrs later
 
...and I am still trying to figure out how to rotate a matrix. Is there anyone online that can answer a Pascal question. I have to get some sleep or maybe feed my son. Although he is happy eating chips and ice cream I need to fix a meal :-|

jwenting Dec 13th, 2004 2:47 am
Re: 12 hrs later
 
You might want to pick up a book on matrix mathematics and read up on the subject.
Unless you know the theory behind it you're never going to put it into code, and once you do know the theory the code should come easily.

mortonl Dec 13th, 2004 7:24 am
Re: 12 hrs later
 
Thank you that's helpful, only I don't want to use the matrix I just want to move it's location. Couldn't I just linked the value addresses and move them 90 degrees ?

jwenting Dec 13th, 2004 11:16 am
Re: 12 hrs later
 
Matrix manipulation is slightly more involved than that :)

Translation is usually simple, rotation is somewhat more complicated.

jwenting Dec 13th, 2004 11:19 am
Re: 12 hrs later
 
Here's some articles on matrix rotation.

http://www.euclideanspace.com/maths/...onal/rotation/
http://www.makegames.com/3drotation
http://www.gamedev.net/reference/art...rticle695.asp/


All times are GMT -4. The time now is 2:16 am.

Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC