#61466 - Maverick - Sun Nov 20, 2005 3:34 pm
I have worked through many compile errors in this code, but have not come across these before and am completely stumped.
The lines that are having trouble are:
glNormal(NORMAL_PACK(f32tov10(x),f32tov10(y),f32tov10(z)));
error: invalid operands to binary >>
glTexCoord2t16(f32tot16 (mulf32(u,intof32(1<<(3+x)))), f32tot16 (mulf32(v,intof32(1<<(3+y)))));
error: invalid operands to binary >>
MATRIX_LOAD4x4 = floatof32(-1.0F);
warning: overflow in implicit constant conversion
u8 red = f32toint(mulf32 (r,intof32(31)));
u8 green = f32toint(mulf32 (g,intof32(31)));
u8 blue = f32toint(mulf32 (b,intof32(31)));
error: invalid operands to binary >>
Once this is sorted it should compile(hopefully)
Any help would be much appreciated
Thanks
_________________
http://downtou.ne1.net/
Last edited by Maverick on Mon Nov 21, 2005 7:23 pm; edited 1 time in total
The lines that are having trouble are:
glNormal(NORMAL_PACK(f32tov10(x),f32tov10(y),f32tov10(z)));
error: invalid operands to binary >>
glTexCoord2t16(f32tot16 (mulf32(u,intof32(1<<(3+x)))), f32tot16 (mulf32(v,intof32(1<<(3+y)))));
error: invalid operands to binary >>
MATRIX_LOAD4x4 = floatof32(-1.0F);
warning: overflow in implicit constant conversion
u8 red = f32toint(mulf32 (r,intof32(31)));
u8 green = f32toint(mulf32 (g,intof32(31)));
u8 blue = f32toint(mulf32 (b,intof32(31)));
error: invalid operands to binary >>
Once this is sorted it should compile(hopefully)
Any help would be much appreciated
Thanks
_________________
http://downtou.ne1.net/
Last edited by Maverick on Mon Nov 21, 2005 7:23 pm; edited 1 time in total