On Tue, May 19, 2009 at 2:15 PM, Robert Osfield
<[email protected]> wrote:
> Hi Paul,
>
> There is a Vec3ub and a Vec3b, if you want a 0 to 255 range for a
> colour then you'd use a Vec3ub rather than a Vec3b.  So rather than
> introducing problems I would have though this would avoid them.

Opps there isn't a Vec3ub, a bit of missing implementation.  Still a
Vec3b isn't a Vec3ub, so signed char is indeed correct for a Vec3b.

For colours one would use a Vec4ub though.... which is defined :-)

For 2.9.x we can add a Vec2ub and Vec3ub to complete the set, not of
OSG-2.8 though.

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

Reply via email to