Hi Robert, Hi All
About Vec{2,3,4]{b,s,i,ub,us,ub}, I think we need to do a code harmonisation
of all this header to provide
- operator + - * / += -= *= /= (value_type)
- operator + - += -= (vec_type)
- operator -() for signed type
- componentMultiply, componentDivide
- swizzle, this meen 256 possible functions for Vec4, 512 possible
functions for xyzw and rgba combinaison
- constructor like in GLSL : Vec4(Vec2, Vec2) or Vec4(float, Vec2, float)
or Vec4(float, Vec3),
- use of template
thoughts ?
David
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org