Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
Rotation in 3 dimensions

 
Post new topic   Reply to topic Printable version
 View previous topic  league manager Post :: Post suggestions - need a program?  View next topic  
Author Message
gilder
Novice


Age:35
Gender:Gender:Male
Joined: Sep 02 2006
Posts: 35
Location: Finland
Offline

PostPosted: Mon Jun 18, 2007 7:06 pm    Post subject: Rotation in 3 dimensions Reply to topic Reply with quote

I'm working on a 3D project using OpenGL and i got a rotation problem.

what needs x, y and z to be so this:

glRotatef(y, 0.0f, 1.0f, 0.0f);
glRotatef(x, 1.0f, 0.0f, 0.0f);
glRotatef(z, 0.0f, 0.0f, 1.0f);

will do the same thing with this:

glRotatef(y1, 0.0f, 1.0f, 0.0f);
glRotatef(x1, 1.0f, 0.0f, 0.0f);
glRotatef(z1, 0.0f, 0.0f, 1.0f);
glRotatef(x2, 1.0f, 0.0f, 0.0f);

EDIT: Things solved in other forums.
_________________
Hockey Zone
Back to top
View users profile Send private message Add User to Ignore List
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Non-Subspace Related Coding All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 646 page(s) served in previous 5 minutes.

phpBB Created this page in 0.466275 seconds : 26 queries executed (81.4%): GZIP compression disabled