mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 05:21:49 +00:00
fix: access to deleted Sensor
This commit is contained in:
parent
f8907f7db1
commit
50a388c539
3 changed files with 12 additions and 0 deletions
|
|
@ -39,6 +39,8 @@ public:
|
|||
void setSensors(std::vector<Sensor*> sensors) {
|
||||
this->sensors = std::move(sensors);
|
||||
}
|
||||
|
||||
void removeSensor(Sensor* sensor);
|
||||
};
|
||||
|
||||
#endif // PHYSICS_PHYSICSSOLVER_HPP_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue