You want a DVec3d as a member of your info, not a DVec3dCP...assuming the "diff" you passed to SetDirectionVectorCP is a local variable, when it goes out of scope your pointer becomes stale...
HTH
-B
You want a DVec3d as a member of your info, not a DVec3dCP...assuming the "diff" you passed to SetDirectionVectorCP is a local variable, when it goes out of scope your pointer becomes stale...
HTH
-B