Start implementing ray-casting.
This adds a QueryPipeline structure responsible for scene queries. Currently this structure is able to perform a brute-force ray-cast. This commit also includes the beginning of implementation of a SIMD-based acceleration structure which will be used for these scene queries in the future.
This commit is contained in:
committed by
Crozet Sébastien
parent
99f28ba4b4
commit
3c85a6ac41
@@ -196,7 +196,8 @@ impl PhysxWorld {
|
||||
}
|
||||
} else {
|
||||
physx_sys::PxShapeFlags {
|
||||
mBits: physx_sys::PxShapeFlag::eSIMULATION_SHAPE as u8,
|
||||
mBits: physx_sys::PxShapeFlag::eSIMULATION_SHAPE as u8
|
||||
| physx_sys::PxShapeFlag::eSCENE_QUERY_SHAPE as u8,
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user