ofxTileSaver icon indicating copy to clipboard operation
ofxTileSaver copied to clipboard

Use of float near; and float far;

Open FLOATING-POINT opened this issue 12 years ago • 0 comments

Hi I had problems compiling this under windows MinGW with the issue being the use of

float near; float far;

in the struct.

near and/or far are defined as macros, possibly so that ancient 16-bit DOS/Windows code can be compiled.

Adding #undef near and #undef far before the struct definition helps

undef near

undef far

struct ofxFrustumData{

FLOATING-POINT avatar Jan 22 '13 16:01 FLOATING-POINT