b3RaycastInfo.h 375 B

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