[osg-users] [Triangle Functor on Vec4array?]

Julien Valentin julienvalentin51 at gmail.com
Mon Feb 20 03:41:01 PST 2017


Hi all,

I would like thoughts about a change I've made on Triangle functor In order to be apply on other Array than Vec3Array...
My main aim is indeed to apply it on Vec4array. 

For this I templated Vec3 to B and delegated vertexcache to the differents implementations.

I hope this commit illustrate enought changes I talk about
 (don't pay attention to my weird comments :/ it was old stuff)
https://github.com/mp3butcher/OpenSceneGraph/commit/d8e7fa01ef5f9527cf43c0243c91e7334a697dec

The question is : is this feature interest anyone else than me?
So any feedback is welcome..

Thank you!

Cheers,
Julien

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=70293#70293








More information about the osg-users mailing list