Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

695 B
Raw Blame
// Copyright (c) 2001-2004 NovodeX AG. All rights reserved.
// Copyright (c) 2004-2008 AGEIA Technologies, Inc. All rights reserved.
// SPDX-FileCopyrightText: Copyright (c) 2008-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

#ifndef CCT_SWEPT_BOX
#define CCT_SWEPT_BOX

#include "CctSweptVolume.h"

namespace physx
{
namespace Cct
{
	class SweptBox : public SweptVolume
	{
	public:
						SweptBox();
		virtual			~SweptBox();

		virtual	void	computeTemporalBox(const SweepTest&, PxExtendedBounds3& box, const PxExtendedVec3& center, const PxVec3& direction) const	PX_OVERRIDE	PX_FINAL;

				PxVec3	mExtents;
	};

} // namespace Cct

}

#endif