Jump to content
  • Advertisement

Archived

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

Theses

help me... again yes i'm serious

This topic is 6583 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

glColor3f(1.0f, 1.0f, 1.0f); now i know the f at the end is unnecessary so when exactly would one use f or perhaps the question should be where, if any, would using f change the resulting executable generated

Share this post


Link to post
Share on other sites
Advertisement
Seriously, glColo3f typecasts the args to floats, so you gain nothing by saying 1.0f instead of 1.0 except you don''t have to look at warnings.


Share this post


Link to post
Share on other sites
it just makes your code more readable ya know. but noone will die if you dont put f at the end, neither the computer will rip itself off to understand what u''re saying. it''s just for the beauty of the float

----------------
- Pouya / FOO!!!
***CENSORED***

Share this post


Link to post
Share on other sites
IOFission:
my sig was really censored. kevin (khawk) took the last sentence in my signature off, so i edited it again and said it it was censored.
if you look at the threads in the lounge for 3 or 4 days ago u'll probably find it

----------------
- Pouya / FOO!!!
***CENSORED***

Edited by - pouya on July 12, 2000 1:58:53 AM

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!