Atoms Crowd  7.0.0
RigidBody.impl.h
1 // ===========================================================================
2 // Copyright (c) 2015 Toolchefs Ltd. All rights reserved.
3 //
4 // Use of this software is subject to the terms of the Toolchefs license
5 // agreement provided at the time of installation or download, or which
6 // otherwise accompanies this software in either electronic or hard copy form.
7 // ===========================================================================
8 
9 namespace Atoms
10 {
11  bool RigidBody::isStatic() const
12  {
13  return state == RigidBodyAttributes::kStatic;
14  }
15 
16  bool RigidBody::isKinematic() const
17  {
18  return state == RigidBodyAttributes::kKinematic;
19  }
20 
21  bool RigidBody::isDynamic() const
22  {
23  return state == RigidBodyAttributes::kDynamic;
24  }
25 }
Atoms namespace.
Definition: Agent.h:29