[osg-users] TriStripVisitor issue

Robert Osfield robert.osfield at gmail.com
Tue Nov 24 07:32:51 PST 2009

Hi Tanguy,

On Tue, Nov 24, 2009 at 2:55 PM, Tanguy Fautre
<tanguyf at aristechnologies.com> wrote:
> http://users.telenet.be/tfautre/softdev/tristripper/

Thanks the link and explanation.

> After a quick look at the header, I've noticed protections against
> min/max macros that will cause a hard failure when those are detected
> (which you probably want to avoid in a library such as OSG). Thinking
> about it now, this is a bit harsh as I've learned since now how to avoid
> macro expansion. For example, replacing
> const size_t Overlap = std::min(PossibleOverlap, size());
> by
> const size_t Overlap = (std::min)(PossibleOverlap, size());
> will avoid the macro replacement and use the std function instead.

Is there any chance you can max this fix the TriStripper before I take
a copy and merge it with the OSG?


More information about the osg-users mailing list