NoJobEngine 2.0.7
Loading...
Searching...
No Matches
JoltSpatialQuery.h
Go to the documentation of this file.
1
6#pragma once
7
9
10namespace NoJob
11{
12 class PhysicsSystem;
13
14 class JoltSpatialQuery final : public ISpatialQuery
15 {
16 public:
17 explicit JoltSpatialQuery(const PhysicsSystem& physics)
18 : m_Physics(physics)
19 {
20 }
21
23 const glm::vec3& origin,
24 const glm::vec3& destination,
25 std::uint64_t observerID,
26 std::uint64_t targetID) const override;
27
28 private:
29 const PhysicsSystem& m_Physics;
30 };
31}
IspatialQuery declarations for the Perception subsystem.
bool HasObstacleBetween(const glm::vec3 &origin, const glm::vec3 &destination, std::uint64_t observerID, std::uint64_t targetID) const override
JoltSpatialQuery(const PhysicsSystem &physics)