b3RaycastInfo.h 381 B

12345678910111213141516171819202122232425
  1. #ifndef B3_RAYCAST_INFO_H
  2. #define B3_RAYCAST_INFO_H
  3. #include "Bullet3Common/b3Vector3.h"
  4. B3_ATTRIBUTE_ALIGNED16(struct) b3RayInfo
  5. {
  6. b3Vector3 m_from;
  7. b3Vector3 m_to;
  8. };
  9. B3_ATTRIBUTE_ALIGNED16(struct) b3RayHit
  10. {
  11. b3Scalar m_hitFraction;
  12. int m_hitBody;
  13. int m_hitResult1;
  14. int m_hitResult2;
  15. b3Vector3 m_hitPoint;
  16. b3Vector3 m_hitNormal;
  17. };
  18. #endif //B3_RAYCAST_INFO_H