News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Strange Behaviour

Started by Cybrid, February 14, 2006, 04:18:59 PM

Previous topic - Next topic

thomas

It is a typo in your source file. You cast to GLfoat. The type defined in gl.h is GLfloat.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Cybrid

OMG!!!!!!!!!!!!!!!!  :shock: how can I be so blind  :oops: :oops: :oops: :oops:

thomas

#17
Don't worry. Someone who tells you that he never made a mistake like that is a bloody liar. 8)

This is a good example of how important accurate information ( = posting the complete compiler message) can be.

EDIT:
Of course the typo has been in the code you posted all the time, and nobody saw it. This once again proves that nobody reads posts with more than 10 lines :lol:
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Cybrid

QuoteThis once again proves that nobody reads posts with more than 10 lines Laughing

Nice one 8)

Szabadember

Glfoat? LOL!!!
Didn't you mean Glfloat ?

GLfoat

nice thread - somehow inspiring

sethjackson


Vampyre_Dark

Quote from: Cybrid on February 15, 2006, 04:35:05 PM
OMG!!!!!!!!!!!!!!!!  :shock: how can I be so blind  :oops: :oops: :oops: :oops:
Don't feel bad. It happens to me once in awhile. I had a function that wouldn't compile for months because my declaration in the header had a & and the actual function code didn't. I compared them at least 25 times until someone else pointed it out to me @ gamedev.net  :lol:
C::B Wishlist
~BOYCOTT THE EVIL YELLOW BOXES~

Cybrid

Yeap, I supouse these kind of things can happen sometimes

sethjackson

Yup one time it took me four weeks to figure out why something wouldn't compile. I had forgot to put the semicolon at the end of my class definition.  :oops: Yes four weeks. I was a newcomer to the classes thing.  :P