Long term I may refactor things like Vec3 classes out from the core OSG, but this is a long long way off.
Its Don alone who's pushing the refactoring, on his own back, without support from myself or seemingly from the community.
I just want to keep the boat steady in this period of change and have no plans of refactoring other than to keep the OSG compiling.
Robert.
On 11/15/06,
c sklu <[EMAIL PROTECTED]> wrote:
Since there have been some posts on reorganization, would it be
possible or smart to commonalize some of the Math classes/routines, or
anything else used by both Producer and OSG into a cmomon utility
library. Another class that comes to mind is ref_ptr.
For what its worth, I've developed templated versions of the Matrix
and Vec classes (based on OSG/Producer) with template parameters for
both type and dimension. Code bloat due to template inlining however
is avoided by using explicit template instantiation for the common
uses, i.e. Vec2f, Vec2d, Vec3f, Vec3d, Vec4f, Vec4d, Matrixd, and
Matrixf. Typedefs also make the code backwards compatible.
Chris
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
