18 explicit Contacts(
const std::array<Vector3, 4>& points,
size_t numPoints = 4)
20 m_numPoints{
static_cast<uint32_t
>(numPoints)}
24 auto GetPoints()
const -> std::span<const Vector3>
26 return std::span<const Vector3>{m_points.begin(), m_numPoints};
29 auto GetCount()
const -> uint32_t
35 std::array<Vector3, 4> m_points;
42 Vector3 offset = Vector3::Zero();
43 Vector3 normal = Vector3::Zero();
Collision event information.
Definition: HitInfo.h:41
A three component vector.
Definition: Vector.h:29