[osg-submissions] FLT exporter DrawArrays fix

Paul Martz pmartz at skew-matrix.com
Tue Apr 1 07:32:58 PDT 2008


> The fix involved two places where I added a flt::uint16(..) cast, i.e.
> 
>            transparency = flt::uint16((1. - 
> packedColorRaw[3]) * (double)0xffff);
> 
> I presume this is perfectly acceptable.

Thanks. Looks like the right fix to me.
   -Paul



More information about the osg-submissions mailing list