Skip to main content
GameDev.net gamedev.net
🔒 Locked

matrix help needed

Started by ZebMacahan Sep 6, 2000 at 5:38 PM 1 replies 450+ views
Original Post
ZebMacahan
ZebMacahan
Hi everyone... If you have a matrix that rotated about x-axis and one about y and one about z and you wanted to rotate the points that made up your 3d world, this will prob. work but.... for (k=0; k
Meduzza
Meduzza
Multiply all three matrices together:

matFinal = matX * matY * matZ;

then

for(...)
{
point[k]=MulPoint(finalMat,point[k]);
}


Cheers
ZebMacahan
ZebMacahan
thx, a lot...why didn''t I think of that...

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.