载入中...
搜索中...
未找到
JoltInternal.h 文件参考
#include <Jolt/Jolt.h>
#include <Jolt/Core/JobSystemSingleThreaded.h>
#include <Jolt/Core/TempAllocator.h>
#include <Jolt/Physics/Body/BodyCreationSettings.h>
#include <Jolt/Physics/Collision/Shape/EmptyShape.h>
#include <Jolt/Physics/Collision/Shape/StaticCompoundShape.h>
#include <Jolt/Physics/PhysicsStepListener.h>
#include <Jolt/Physics/PhysicsSystem.h>
#include <cmath>
#include <unordered_map>
#include "physics/Body3D.h"
#include "physics/Shape3D.h"
#include "physics/jolt/JoltBody.h"
#include "physics/jolt/JoltShape.h"

浏览源代码.

类

struct  eve::physics::jolt::Layers
 
struct  eve::physics::jolt::ContactPair
 
struct  eve::physics::jolt::SolvedPoint
 
struct  eve::physics::jolt::SolvedHit
 
struct  eve::physics::jolt::State
 
struct  eve::physics::jolt::BodyState
 
struct  eve::physics::jolt::ShapeState
 
struct  eve::physics::jolt::Listener
 

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::physics
 Optional physics backend for vehicle mobility and body attach.
 
namespace  eve::physics::jolt
 

函数

template<class T >
eve::Result< T > eve::physics::jolt::rejected (const char *operation, eve::DiagnosticCode code=eve::DiagnosticCode::Unsupported)
 
eve::Result< void > eve::physics::jolt::success ()
 
bool eve::physics::jolt::isFinite (float x, float y, float z)
 
void eve::physics::jolt::initializeRuntime ()
 Initializes the process-owned allocator and type factory before constructing any native members.
 
eve::Result< JPH::RefConst< JPH::Shape > > eve::physics::jolt::cook (const ShapeGeometry3D &, float density, JPH::uint64 userData)
 
eve::Result< JPH::RefConst< JPH::Shape > > eve::physics::jolt::cookMesh (const ShapeGeometry3D &, JPH::uint64 userData)
 
eve::Result< void > eve::physics::jolt::validateMaterial (SurfaceMaterial3D)
 
int eve::physics::jolt::triangleIndex (const JPH::Body &, const JPH::SubShapeID &)
 
SurfaceMaterial3D eve::physics::jolt::contactMaterial (const JPH::Body &, const JPH::SubShapeID &, const ShapeState &)
 
eve::Result< void > eve::physics::jolt::replaceShapes (BodyState &, const std::vector< std::shared_ptr< ShapeState > > &)
 
ShapeState * eve::physics::jolt::child (const JPH::Body &body, const JPH::SubShapeID &id)
 Resolves a native child record for a synchronous callback or query. @ownership Borrowed from the world's body record; never transferred or retained by the caller. @lifetime Valid only while the native body is locked or on the idle simulation thread, until the next shape or body mutation. Returns nullptr when no child record exists.