1// Jolt Physics Library (https://github.com/jrouwe/JoltPhysics) 2// SPDX-FileCopyrightText: 2021 Jorrit Rouwe 3// SPDX-License-Identifier: MIT 4 5#pragma once 6 7#include <Jolt/Geometry/AABox.h> 8 9JPH_NAMESPACE_BEGIN 10 11/// Structure that holds AABox moving linearly through 3d space 12struct AABoxCast 13{ 14 JPH_OVERRIDE_NEW_DELETE 15 16 AABox mBox; ///< Axis aligned box at starting location 17 Vec3 mDirection; ///< Direction and length of the cast (anything beyond this length will not be reported as a hit) 18}; 19 20JPH_NAMESPACE_END 21 22