source: GTP/trunk/App/Games/Jungle_Rumble/src/physic/physics/include/NxFixedJointDesc.h @ 1378

Revision 1378, 1.5 KB checked in by giegl, 18 years ago (diff)

GTPD - Jungle Rumble - integrate into GTP SVN structure

Line 
1#ifndef NX_PHYSICS_NXFIXEDJOINTDESC
2#define NX_PHYSICS_NXFIXEDJOINTDESC
3/*----------------------------------------------------------------------------*\
4|
5|                                               Public Interface to NovodeX Technology
6|
7|                                                            www.novodex.com
8|
9\*----------------------------------------------------------------------------*/
10/** \addtogroup physics
11  @{
12*/
13
14#include "Nxp.h"
15#include "NxJointDesc.h"
16/**
17\brief Desc class for fixed joint.
18
19
20<b>Platform:</b>
21\li PC SW: Yes
22\li PPU  : No
23\li PS3  : Yes
24\li XB360: Yes
25
26@see NxFixedJoint NxScene.createJoint()
27*/
28class NxFixedJointDesc : public NxJointDesc
29        {
30        public:
31        /**
32        \brief Constructor sets to default.
33        */
34        NX_INLINE NxFixedJointDesc();   
35        /**
36        \brief (re)sets the structure to the default.   
37        */
38        NX_INLINE void setToDefault();
39        /**
40        \brief Return true if the descriptor is valid.
41
42        \return true if the current settings are valid
43        */
44        NX_INLINE bool isValid() const;
45
46        };
47
48NX_INLINE NxFixedJointDesc::NxFixedJointDesc() : NxJointDesc(NX_JOINT_FIXED)    //constructor sets to default
49        {
50        setToDefault();
51        }
52
53NX_INLINE void NxFixedJointDesc::setToDefault()
54        {
55        NxJointDesc::setToDefault();
56        }
57
58NX_INLINE bool NxFixedJointDesc::isValid() const
59        {
60        return NxJointDesc::isValid();
61        }
62
63/** @} */
64#endif
65
66
67//AGCOPYRIGHTBEGIN
68///////////////////////////////////////////////////////////////////////////
69// Copyright © 2005 AGEIA Technologies.
70// All rights reserved. www.ageia.com
71///////////////////////////////////////////////////////////////////////////
72//AGCOPYRIGHTEND
73
Note: See TracBrowser for help on using the repository browser.