MathEngine
Home Page       Structures       File List       Functions and Macros      

MdtConstraintHeader Struct Reference

Mdt Constraint Header. More...

#include <MdtTypes.h>

List of all members.

Public Attributes

MdtWorldID world
 The world the constraint is in. More...

MdtBaseConstraintnext
 Pointer to next constraint. More...

MdtBaseConstraint** tome
 Address of the 'next' pointer in the previous constraint. More...

void* userData
 User data. More...

MdtBodybody [4]
 The (up to) 4 constrained bodies. More...

MdtCListNodecNode [4]
 Pointers to this constraints entries in its bodies lists. More...

int flag
 Set by the event manager during constraint graph traversal. More...

MeVector4 resultForce [3]
 Force applied to each of the constraints bodies by this constraint. More...

MeVector4 resultTorque [3]
 Torque applied to each of the constraints bodies by this constraint. More...


Detailed Description

Mdt Constraint Header.

Contains data common to all constraints.


Member Data Documentation

MdtBody * MdtConstraintHeader::body[4]

The (up to) 4 constrained bodies.

MdtCListNode * MdtConstraintHeader::cNode[4]

Pointers to this constraints entries in its bodies lists.

This is kept so these references can be removed when the constraint is Disabled.

int MdtConstraintHeader::flag

Set by the event manager during constraint graph traversal.

MdtBaseConstraint * MdtConstraintHeader::next

Pointer to next constraint.

MeVector4 MdtConstraintHeader::resultForce[3]

Force applied to each of the constraints bodies by this constraint.

MeVector4 MdtConstraintHeader::resultTorque[3]

Torque applied to each of the constraints bodies by this constraint.

MdtBaseConstraint ** MdtConstraintHeader::tome

Address of the 'next' pointer in the previous constraint.

void * MdtConstraintHeader::userData

User data.

This will not be changed from with the toolkit

MdtWorldID MdtConstraintHeader::world

The world the constraint is in.


The documentation for this struct was generated from the following file:
MathEngine Dynamics Toolkit - Version 0.0.5 Alpha - Reference Manual generated using doxygen at Wed Oct 11 00:34:52 2000

Copyright MathEngine PLC 2000, all rights reserved.