summaryrefslogtreecommitdiff
path: root/thirdparty/bullet/Bullet3Collision/NarrowPhaseCollision/b3RaycastInfo.h
blob: fba8bd07a4fde050205b13050d2209742b7b41e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

#ifndef B3_RAYCAST_INFO_H
#define B3_RAYCAST_INFO_H

#include "Bullet3Common/b3Vector3.h"

B3_ATTRIBUTE_ALIGNED16(struct) b3RayInfo
{
	b3Vector3 m_from;
	b3Vector3 m_to;
};

B3_ATTRIBUTE_ALIGNED16(struct) b3RayHit
{
		b3Scalar	m_hitFraction;
		int	m_hitBody;
		int	m_hitResult1;
		int	m_hitResult2;
		b3Vector3 m_hitPoint;
		b3Vector3 m_hitNormal;
};

#endif //B3_RAYCAST_INFO_H