Hi Jannik,

I have just reviewed your changes and for now don't feel that it's the best
way to introduce this type of functionality as it's inconsistent with how
other parts of the OSG manage transforms.  When tranforming objects you can
either pre or post multiple them, which to use depends upon the context.
If you did want a BS x Matrix, or Matrix x BS method then creating
functions methods for these would be the way forward rather than a specific
transform method which has an implicit transform order.

Robert.

On 10 April 2015 at 15:52, Jannik Heller <[email protected]> wrote:

> Hi Robert,
>
> In osg::Transform we have some code that transforms a bounding sphere by a
> matrix, but it's hidden in the implementation file. I found this code
> useful for my own purposes, so I moved it to the BoundingSphere class. Now
> it's publicly accessible whenever someone needs it.
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=63318#63318
>
>
>
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
>
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to