Open Source Tomb Raider Engine
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

CollisionObject.h 1.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /* -*- Mode: C++; tab-width: 3; indent-tabs-mode: t; c-basic-offset: 3 -*- */
  2. /*================================================================
  3. *
  4. * Project : libHel
  5. * Object : CollisionObject
  6. * Comments: Was missing from SourceForge!
  7. *
  8. *-- History ------------------------------------------------
  9. *
  10. * 2013.12.27:
  11. * xythobuz - Created as stub, was missing
  12. ================================================================*/
  13. #ifndef GUARD__LIBHEL_MONGOOSE_COLLISIONOBJECT_H_
  14. #define GUARD__LIBHEL_MONGOOSE_COLLISIONOBJECT_H_
  15. #include <hel/Vector3d.h>
  16. class CollisionObject
  17. {
  18. public:
  19. ////////////////////////////////////////////////////////////
  20. // Constructors
  21. ////////////////////////////////////////////////////////////
  22. ////////////////////////////////////////////////////////////
  23. // Public Accessors
  24. ////////////////////////////////////////////////////////////
  25. bool intersectPoint(Vector3d p);
  26. ////////////////////////////////////////////////////////////
  27. // Public Mutators
  28. ////////////////////////////////////////////////////////////
  29. Vector3d mIntersection;
  30. private:
  31. ////////////////////////////////////////////////////////////
  32. // Private Accessors
  33. ////////////////////////////////////////////////////////////
  34. ////////////////////////////////////////////////////////////
  35. // Private Mutators
  36. ////////////////////////////////////////////////////////////
  37. /* */
  38. };
  39. #endif