VR-Link API Documentation for DIS
collisElasP.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 *********************************************************************/
00005 
00006 
00007 #ifndef _CollisionElasP_h_
00008 #define _CollisionElasP_h_ 1
00009  
00013 
00014 
00015 #if DtDIS
00016 
00017 #include <vlpi/NetStructs.h>
00018 #include <vl/eventId.h>
00019 #include "pduHeader.h"
00020 
00022 
00023 struct DtNetCollisionElasticPdu
00024 {
00025    DtNetPduHeader               myHeader;
00026    DtNetEntityIdentifier        myIssuingEntityID;
00027    DtNetEntityIdentifier        myCollidingEntityID;
00028    DtNetEventId                 myEventID;
00029    DtNetU16                     padding;
00030    DtNet32Vector                myContactVelocity;
00031    DtNetFloat32                 myMass;
00032    DtNet32Vector                myLocationOfImpact;
00033    DtNetFloat32                 myCollisionInterResultXX;
00034    DtNetFloat32                 myCollisionInterResultXY;
00035    DtNetFloat32                 myCollisionInterResultXZ;
00036    DtNetFloat32                 myCollisionInterResultYY;
00037    DtNetFloat32                 myCollisionInterResultYZ;
00038    DtNetFloat32                 myCollisionInterResultZZ;
00039    DtNet32Vector                myUnitSurfaceNormal;
00040    DtNetFloat32                 myCoefficientOfRestitution;
00041 };
00042 
00043 #endif
00044 #endif

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)