openexr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Openexr-devel] Hither and Yon in Imath::Frustum


From: Dan Wexler
Subject: [Openexr-devel] Hither and Yon in Imath::Frustum
Date: Wed, 28 May 2008 13:36:50 -0700

Greetings from a new mailing list subscriber, but long time library user,
 
The ImathFrustum.h header does a #undef on the "near" and "far" abominations in the windows.h headers.  The implication is that you must include ImathFrustum.h after including any Windows DX headers.  Yes, Windows sucks, but the current #undef solution is not great either.
 
Why not use hither/yon instead of near/far in ImathFrustum.h and in the associated code files?
 
Not only does this fix the problem elegantly, but it makes searching the code easier, since hither/yon are more unique than near/far.  I'd be willing to make and test out this change if folks agree that it is worthwhile.
 
 
Dan Wexler
 

This email message is for the sole use of the intended recipient(s) and may contain confidential information.  Any unauthorized review, use, disclosure or distribution is prohibited.  If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]