Re: Help with Pointers

new topic     » goto parent     » topic index » view thread      » older message » newer message

From the perspective of Euphoria/Phix, glLightfv/poke(atom_to_float32()) should handle all the cases needed, or I
suppose you could check whether params is all int and if so use glLightiv/poke4. Just don't mix f/poke4 or i/to_f32.

I am in no position to say whether iv might produce grubbier/grainier results than fv, or vice-versa.
Should the results always be indistinguishable, then iv would be a (likely-non-measurable) smidge faster.

Otherwise, of course, totally agree with everything Greg said, except the potential iv/fv mixup (as existed in the OP).

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu