[osg-users] Please test SVN version of OpenSceneGraph

Robert Osfield robert.osfield at gmail.com
Wed Sep 12 08:56:57 PDT 2007


On 9/12/07, Williams, Blake <bwilliams at drs-tcs.com> 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.



More information about the osg-users mailing list