I never knew that near and far were reserved until I made a struct for bounding boxes like this:
struct boundingBox
{
float near, far;
float left,right;
float top,bottom;
};
Does anybody know what near and far do, because I got the error that the declaration does not declare anything. I solved my problem with a simple rename, but I was also wondering if there was a way to 'turn off' near and far being reserved. My struct is now this in case you are wondering:
struct boundingBox
{
float front,back;
float left,right;
float top,bottom;
};