| 123456789101112131415161718192021222324252627282930 |
- //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
- //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
- #include "BsCFixedJoint.h"
- #include "BsSceneObject.h"
- #include "BsCRigidbody.h"
- #include "BsCFixedJointRTTI.h"
- namespace BansheeEngine
- {
- CFixedJoint::CFixedJoint(const HSceneObject& parent)
- : CJoint(parent)
- {
- setName("FixedJoint");
- }
- SPtr<Joint> CFixedJoint::createInternal()
- {
- return FixedJoint::create();
- }
- RTTITypeBase* CFixedJoint::getRTTIStatic()
- {
- return CFixedJointRTTI::instance();
- }
- RTTITypeBase* CFixedJoint::getRTTI() const
- {
- return CFixedJoint::getRTTIStatic();
- }
- }
|