17 #ifndef AGX_DEPRECATEDATTACHMENT_H
18 #define AGX_DEPRECATEDATTACHMENT_H
25 # pragma warning( push )
26 # pragma warning( disable : 4251 )
38 OldConstraintAttachmentSkeleton() : m_data( 0 ),
m_size(0) {}
39 OldConstraintAttachmentSkeleton(
Vec3* data,
size_t n ) : m_data( data ),
m_size( n ) {}
40 virtual ~OldConstraintAttachmentSkeleton() {}
52 HingeAttachment() : OldConstraintAttachmentSkeleton( m_data, 9 ) {}
58 OldConstraintAttachmentSkeleton m_xformed[ 1 ];
64 class AGXPHYSICS_EXPORT BallJointAttachment :
public OldConstraintAttachmentSkeleton
67 BallJointAttachment() : OldConstraintAttachmentSkeleton( m_data, 3 ) {}
71 OldConstraintAttachmentSkeleton m_xformed[ 1 ];
74 class AGXPHYSICS_EXPORT DistanceJointAttachment :
public OldConstraintAttachmentSkeleton
77 DistanceJointAttachment() : OldConstraintAttachmentSkeleton( m_data, 3 ) {}
81 OldConstraintAttachmentSkeleton m_xformed[ 1 ];
84 class AGXPHYSICS_EXPORT AngularLockJointAttachment :
public OldConstraintAttachmentSkeleton
87 AngularLockJointAttachment() : OldConstraintAttachmentSkeleton( m_data, 6 ) {}
91 OldConstraintAttachmentSkeleton m_xformed[ 1 ];
103 #pragma warning( pop )
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
#define AGXPHYSICS_EXPORT
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
This namespace contain classes for streaming classes into archives, ASCII, binary for storage (serial...
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
Vec3T< Real > Vec3
The object holding 3 dimensional vectors and providing basic arithmetic.