Sorry for this silly question that probably doesn’t fit in an opengl forum, but I think you can help me anyway.
I have a problem with C++ macros, I did the following:
#define FSQRT(x)
__asm
{
fld #x fsqrt fstp #x fwait }
of course this code cannot work because when you invoke FSQRT(var) for example, the #x preprocessor command is replaced with “var” and not var…
…do you know how to make this work?
Thanx!