Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

yot

in front of me?

This topic is 6177 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi, my render routine starts with glRotatef(-rot[0], 1.0f, 0.0f, 0.0f); glRotatef(-rot[1], 0.0f, 1.0f, 0.0f); glRotatef(-rot[2], 0.0f, 0.0f, 1.0f); glTranslatef (-eye[0], -eye[1], -eye[2]); how to make a Quad that is always in front of me (like a weapon)? I''m really tired and cannot get it work Thx yot

Share this post


Link to post
Share on other sites
Advertisement
hi Null and void,

yeah you''re right, now it works, I tested this out but it didn''t work first I guess I made a stupid mistake, nevertheless thanx

yot

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!