| 1234567891011121314151617181920212223242526272829303132 |
- //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
- //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
- #pragma once
- #include "BsCorePrerequisites.h"
- #include "BsJoint.h"
- namespace BansheeEngine
- {
- /** @addtogroup Physics
- * @{
- */
- struct FIXED_JOINT_DESC;
- /** Physics joint that will maintain a fixed distance and orientation between its two attached bodies. */
- class BS_CORE_EXPORT FixedJoint : public Joint
- {
- public:
- FixedJoint(const FIXED_JOINT_DESC& desc) { }
- virtual ~FixedJoint() { }
- /** Creates a new fixed joint. */
- static SPtr<FixedJoint> create(const FIXED_JOINT_DESC& desc);
- };
- /** Structure used for initializing a new FixedJoint. */
- struct FIXED_JOINT_DESC : JOINT_DESC
- { };
- /** @} */
- }
|