twerwerwer
This commit is contained in:
@@ -106,6 +106,9 @@ private:
|
||||
public:
|
||||
Physics() {}
|
||||
|
||||
const glm::vec3& GetGravity() const noexcept { return gravity; }
|
||||
void SetGravity(const glm::vec3& g) noexcept { gravity = g; }
|
||||
|
||||
int GetObjectAmount() const noexcept { return (int)objects.size(); }
|
||||
void AddObject(p* obj) { objects.push_back(obj); }
|
||||
const std::vector<p*>& GetObjects() const { return objects; }
|
||||
|
||||
Reference in New Issue
Block a user