On 9/12/07, Williams, Blake <[EMAIL PROTECTED]> wrote:
> inline float log2(float v) { return static_cast<float>(log(v)) *
> INVLN_2; }
>
> Since INVLN_2 is a double, the warning appears. INVLN_2 can either be
> cast to a float or included in the parens for the static_cast.
I've rejiffed this method so that it uses logf and casts the INVLN_2
to float, could you do an svn update and let me know if its fixed.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org