hi all,

from what i've understood, in Tasm IDEAL mode, the only way to pass floating params to OGL functions is to define the floating in the data section.

Example:




f1 dd 0.00
f2 dd 1.00
f3 dd 0.85

call glColor3f, [f1], [f2], [f3]



I can't get any information on the Tasm manual... Is there any way to pass floating numbers as masm do (0.85F)?

B7
Posted on 2003-06-10 15:55:53 by Bit7
:(
Posted on 2003-06-13 10:29:20 by Bit7
MASM only allows it through the use of bitRAKEs Macro. And that does actually store the values in the data section anyway, makes things neater and easier though.

Fasm allows it for floats, and has a macro for doubles. But I don't know anything about Tasm myself.
Posted on 2003-06-13 12:15:21 by Eóin