2017-08-01 12:30:58 +00:00
|
|
|
|
|
|
|
#ifndef B3_RAYCAST_INFO_H
|
|
|
|
#define B3_RAYCAST_INFO_H
|
|
|
|
|
|
|
|
#include "Bullet3Common/b3Vector3.h"
|
|
|
|
|
2019-01-03 13:26:51 +00:00
|
|
|
B3_ATTRIBUTE_ALIGNED16(struct)
|
|
|
|
b3RayInfo
|
2017-08-01 12:30:58 +00:00
|
|
|
{
|
|
|
|
b3Vector3 m_from;
|
|
|
|
b3Vector3 m_to;
|
|
|
|
};
|
|
|
|
|
2019-01-03 13:26:51 +00:00
|
|
|
B3_ATTRIBUTE_ALIGNED16(struct)
|
|
|
|
b3RayHit
|
2017-08-01 12:30:58 +00:00
|
|
|
{
|
2019-01-03 13:26:51 +00:00
|
|
|
b3Scalar m_hitFraction;
|
|
|
|
int m_hitBody;
|
|
|
|
int m_hitResult1;
|
|
|
|
int m_hitResult2;
|
|
|
|
b3Vector3 m_hitPoint;
|
|
|
|
b3Vector3 m_hitNormal;
|
2017-08-01 12:30:58 +00:00
|
|
|
};
|
|
|
|
|
2019-01-03 13:26:51 +00:00
|
|
|
#endif //B3_RAYCAST_INFO_H
|