Math is hard
2,185
0
Advertisement
I started cleaning up some of the code today. I managed to get the camera looking down the "proper" axis, now it's a matter of changing everything else. Because of the change, it showed me a bunch of problems with my code that hacking fixed last time. Sooo trying to fix it reminded me that ....
... math is hard!
It's been so long since I've stared at a Matrix, stared at a vector, done cross and dot products .... I can't remember when to cross or why to dot or anything! I've thankfully got some help in this department from a friend, and this weekend I will be going through storage to get my maff books out. Tomorrow will be "tackle rotation" day to try to get things rotating properly.
Unfortunately, I'm pretty sure my rotation code is correct and my drawing code isn't. /facepalm. Fucking hacked together programming!
As a side note, I just saw that XNA workshop that's going on. I wish I had had this spark of inspiration sooner, that way I'd have known about it and been able to properly go through it. I've no desire to try to catch up. Oh well, maybe next time.
Now I must start closing up here at work so I can go home and raid*. Stupid halfus dragon combination this week! Probably skipping BoT to work on Atramedes some more. Hooray for "retard finder" fights.
* Yes, I play World of Warcraft.
... math is hard!
It's been so long since I've stared at a Matrix, stared at a vector, done cross and dot products .... I can't remember when to cross or why to dot or anything! I've thankfully got some help in this department from a friend, and this weekend I will be going through storage to get my maff books out. Tomorrow will be "tackle rotation" day to try to get things rotating properly.
Unfortunately, I'm pretty sure my rotation code is correct and my drawing code isn't. /facepalm. Fucking hacked together programming!
As a side note, I just saw that XNA workshop that's going on. I wish I had had this spark of inspiration sooner, that way I'd have known about it and been able to properly go through it. I've no desire to try to catch up. Oh well, maybe next time.
Now I must start closing up here at work so I can go home and raid*. Stupid halfus dragon combination this week! Probably skipping BoT to work on Atramedes some more. Hooray for "retard finder" fights.
* Yes, I play World of Warcraft.
Advertisement
Advertisement
Advertisement
Discussion