Hi Paul,

On 4/10/07, Paul Martz <[EMAIL PROTECTED]> wrote:
Hi Robert -- PAT's data members don't use ref_ptr<>; they're declared as
normal variables as follows:

Vec3d _position;
Quat _attitude;
Vec3d _scale;
Vec3d _pivotPoint;

The implication is that a shallow copy always results in a deep copy of this
data. There's no way to create multiple PATs that reference the same pivot
point, position, attitude, scale, etc.

Was this intentional or is it a bug?

Intentional.  You can't go sharing every single attribute in a data
structure, it would be crazy from a design and implementation
standpoint.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to