Robert Osfield wrote: > Hi Chris, > The osg::Array subclasses exist to support OpenGL rendering so just > map what OpenGL can support. You could create your own subclasses to > go beyond what OpenGL supports if you wish, I'm not sure it's > generally useful though.
Well, this is distinct from OpenGL -- I have to use someone else's arrays, but I needed a nice atomic X/Y coordinate pair to pass around, and it got me wondering if anyone else has ever needed Vec* classes outside what OSG already has, and if it would be useful to extend Vec* or try to make them into a template type so you could for example have a Vec2 of anything that supported the usual math operations. > Robert. -- Chris 'Xenon' Hanson, omo sanza lettere Xenon AlphaPixel.com PixelSense Landsat processing now available! http://www.alphapixel.com/demos/ "There is no Truth. There is only Perception. To Perceive is to Exist." - Xen _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

