Skip to main content
gamedev.net
🔒 Locked

hmm

Started by Caereth Sep 22, 2000 at 12:20 AM 1 replies 650+ views
Original Post
Caereth
Caereth
I am using matrices..and I tried this: Cam.m[3][0] += Cam.m[0][2]; Cam.m[3][1] += Cam.m[1][2]; Cam.m[3][2] += Cam.m[2][2]; but that didnt work.. what do I have to do?
Jonathan
Jonathan
First question is, what exactly are you trying to do?

Without that knowledge, one way to make it work would be to use some temporary variables.

float temp;
temp = Cam.m[0][2];
Cam.m[3][0] += temp;

etc...

Jonathan
Caereth
Caereth
Umm...this thread is supposed to be a reply to another post, sorry

Topic Locked

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

Sign in to reply to this topic.