Hi Robert,

I submitted once a TriangleFunctor which was templated on the vector type 
(either Vec3 or Vec3d). You told me reasons why you would not accept this 
submission.
So I propose now another one, which stores both types. Can you review and tell 
me your feeling about it, please?

You'll notice some code is commented out. It's because the base class 
'PrimitiveFunctor' does *NOT* have some double precision overloads. If you feel 
PrimitiveFunctor should also accept these, please tell me (or copy/paste 
corresponding prototypes in PrimitiveFunctor). On this point I must say I'm not 
100% sure the underlying glBegin/glEnd() way to provide vertices support double 
precision. I guess so, but this needs to be confirmed.

Cheers,

Sukender
PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/

Attachment: TriangleFunctor
Description: Binary data

_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to