BsCFixedJoint.cpp 782 B

123456789101112131415161718192021222324252627282930
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
  3. #include "BsCFixedJoint.h"
  4. #include "BsSceneObject.h"
  5. #include "BsCRigidbody.h"
  6. #include "BsCFixedJointRTTI.h"
  7. namespace BansheeEngine
  8. {
  9. CFixedJoint::CFixedJoint(const HSceneObject& parent)
  10. : CJoint(parent)
  11. {
  12. setName("FixedJoint");
  13. }
  14. SPtr<Joint> CFixedJoint::createInternal()
  15. {
  16. return FixedJoint::create();
  17. }
  18. RTTITypeBase* CFixedJoint::getRTTIStatic()
  19. {
  20. return CFixedJointRTTI::instance();
  21. }
  22. RTTITypeBase* CFixedJoint::getRTTI() const
  23. {
  24. return CFixedJoint::getRTTIStatic();
  25. }
  26. }