// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics3D module" // For conditions of distribution and use, see copyright notice in Config.hpp #include #include #include namespace Nz { inline JPH::ShapeSettings* Collider3D::GetShapeSettings() const { return m_shapeSettings.get(); } template const T* Collider3D::GetShapeSettingsAs() const { return SafeCast(m_shapeSettings.get()); } inline TranslatedRotatedCollider3D::TranslatedRotatedCollider3D(std::shared_ptr collider, const Vector3f& translation) : TranslatedRotatedCollider3D(std::move(collider), translation, Quaternionf::Identity()) { } inline TranslatedRotatedCollider3D::TranslatedRotatedCollider3D(std::shared_ptr collider, const Quaternionf& rotation) : TranslatedRotatedCollider3D(std::move(collider), Vector3f::Zero(), rotation) { } } #include