16 lines
230 B
C++
16 lines
230 B
C++
|
#pragma once
|
||
|
|
||
|
#include <glm/vec2.hpp>
|
||
|
#include <glm/vec3.hpp>
|
||
|
|
||
|
class Object {
|
||
|
public:
|
||
|
Object(const glm::vec2 &pos, float r) : position(pos), radius(r)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
const glm::vec2 position;
|
||
|
const float radius;
|
||
|
};
|
||
|
|