![]() |
| ||
| 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 :-| |
| ||
| 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. |
| ||
| 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 ? |
| ||
| Re: 12 hrs later Matrix manipulation is slightly more involved than that :) Translation is usually simple, rotation is somewhat more complicated. |
| ||
| 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