From: Ronny V. V. <s8...@ii...> - 2005-05-13 15:06:47
|
fre, 13,.05.2005 kl. 08.56 -0400, skrev David Kesselring: > I'm trying to build the software only mesa on cygwin but have a compile > error for a missing definition. Would any of you know where to look for > "M_E" from the following snip? > > t_vp_build.c, build_fog() > > case GL_EXP: emit_op1(p, VP_OPCODE_ABS, tmp, 0, input); > emit_op2(p, VP_OPCODE_MUL, tmp, 0, tmp, swizzle1(params,X)); > emit_op2(p, VP_OPCODE_POW, fog, WRITEMASK_X, > register_const1f(p, M_E), negate(tmp)); > ^^^ M_E is the mathematical constant e, usually defined in <math.h> from glibc : # define M_E 2.7182818284590452354 /* e */ -- Ronny V. Vindenes <s8...@ii...> |