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

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

GTPD - Jungle Rumble - integrate into GTP SVN structure

Line 
1#ifndef NX_PHYSICS_NXPRISMATICJOINTDESC
2#define NX_PHYSICS_NXPRISMATICJOINTDESC
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 #NxPrismaticJoint.
18
19<b>Platform:</b>
20\li PC SW: Yes
21\li PPU  : No
22\li PS3  : Yes
23\li XB360: Yes
24
25@see NxJointDesc NxPrismaticJoint NxScene.createJoint
26*/
27class NxPrismaticJointDesc : public NxJointDesc
28        {
29        public:
30        /**
31        \brief Constructor sets to default.
32        */
33        NX_INLINE NxPrismaticJointDesc();       
34       
35        /**
36        \brief (re)sets the structure to the default.   
37        */
38        NX_INLINE void setToDefault();
39       
40        /**
41        \brief Returns true if the descriptor is valid.
42        \return true if the current settings are valid
43        */
44        NX_INLINE bool isValid() const;
45
46        };
47
48NX_INLINE NxPrismaticJointDesc::NxPrismaticJointDesc() : NxJointDesc(NX_JOINT_PRISMATIC)        //constructor sets to default
49        {
50        setToDefault();
51        }
52
53NX_INLINE void NxPrismaticJointDesc::setToDefault()
54        {
55        NxJointDesc::setToDefault();
56        }
57
58NX_INLINE bool NxPrismaticJointDesc::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.