Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of float near; and float far; #2

Open
FLOATING-POINT opened this issue Jan 22, 2013 · 0 comments
Open

Use of float near; and float far; #2

FLOATING-POINT opened this issue Jan 22, 2013 · 0 comments

Comments

@FLOATING-POINT
Copy link

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{

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant