replaced near and far by _near and _far to avoid conflict with windef.h definitions