Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
CastSphereVsTriangles.h
Go to the documentation of this file.
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
8
10
48
std::uint8_t uint8
Definition Core.h:440
#define JPH_EXPORT
Definition Core.h:227
#define JPH_NAMESPACE_END
Definition Core.h:367
#define JPH_NAMESPACE_BEGIN
Definition Core.h:361
AllocateFunction Allocate
Definition Memory.cpp:59
JPH_NAMESPACE_BEGIN JPH_INLINE float RayCylinder(Vec3Arg inRayOrigin, Vec3Arg inRayDirection, float inCylinderRadius)
Definition RayCylinder.h:17
Collision detection helper that casts a sphere vs one or more triangles.
Definition CastSphereVsTriangles.h:13
const Mat44 & mCenterOfMassTransform2
Definition CastSphereVsTriangles.h:36
SubShapeIDCreator mSubShapeIDCreator1
Definition CastSphereVsTriangles.h:38
Vec3 mDirection
Direction and length of movement of sphere.
Definition CastSphereVsTriangles.h:33
CastShapeCollector & mCollector
Definition CastSphereVsTriangles.h:39
Vec3 mStart
Starting location of the sphere.
Definition CastSphereVsTriangles.h:32
Vec3 mScale
Definition CastSphereVsTriangles.h:37
float mRadius
Scaled radius of sphere.
Definition CastSphereVsTriangles.h:34
const ShapeCastSettings & mShapeCastSettings
Definition CastSphereVsTriangles.h:35
Virtual interface that allows collecting multiple collision results.
Definition CollisionCollector.h:45
Holds a 4x4 matrix of floats, but supports also operations on the 3x3 upper left part of the matrix.
Definition Mat44.h:13
Settings to be passed with a shape cast.
Definition ShapeCast.h:92
Definition SubShapeID.h:108
A sub shape id contains a path to an element (usually a triangle or other primitive type) of a compou...
Definition SubShapeID.h:23
Definition Vec3.h:16
Definition ShapeCast.h:69