载入中...
搜索中...
未找到
JoltWorldAabb.cpp
浏览该文件的文档.
10eve::Result<BroadPhaseAabb3D> WorldBackend::queryAabbBroadPhaseOwned(float x1, float y1, float z1, float x2, float y2,
12 if (!isValid()) return rejected<BroadPhaseAabb3D>("World expired", eve::DiagnosticCode::StaleHandle);
22 !(shape->filter.categoryBits & filter.maskBits) || !(shape->filter.maskBits & filter.categoryBits))
26 JPH::Quat(g.localQx, g.localQy, g.localQz, g.localQw).Normalized(), {g.localX, g.localY, g.localZ});
44eve::Result<int> WorldBackend::queryAABB(float x1, float y1, float z1, float x2, float y2, float z2) {
47 {owner->queryCategoryBits_, owner->queryMaskBits_, owner->queryIgnoredBodyId_, owner->queryIgnoredShapeId_});
51 return rejected<int>("AABB result exceeds the owning query capacity", eve::DiagnosticCode::Failed);
static Result failure(Status status)
Construct a failed result from a structured status.
Definition Result.h:196
eve::Result< int > queryAABB(float minX, float minY, float minZ, float maxX, float maxY, float maxZ) override
queryAABB; uses the class ownership, thread and failure contract.
Definition JoltWorldAabb.cpp:44
eve::Result< BroadPhaseAabb3D > queryAabbBroadPhaseOwned(float minX, float minY, float minZ, float maxX, float maxY, float maxZ, QueryFilter3D filter) override
queryAabbBroadPhaseOwned; uses the class ownership, thread and failure contract.
Definition JoltWorldAabb.cpp:10
Definition JoltBody.cpp:7
@ InvalidArgument
@ Failed
@ StaleHandle
Fixed-capacity deterministic result of one AABB broad-phase query.
Definition OwnedQuery3D.h:71
Query filter applied atomically for one owning query operation.
Definition OwnedQuery3D.h:47