feat: initial commit
This commit is contained in:
16
include/block.h
Normal file
16
include/block.h
Normal file
@ -0,0 +1,16 @@
|
||||
#ifndef BLOCK_H_
|
||||
#define BLOCK_H_
|
||||
#include <glm/glm.hpp>
|
||||
|
||||
class Block {
|
||||
private:
|
||||
glm::vec3 m_position;
|
||||
glm::vec4 m_color;
|
||||
public:
|
||||
Block(glm::vec3 position, glm::vec4 color);
|
||||
public:
|
||||
inline glm::vec3 Position() const { return m_position; }
|
||||
inline glm::vec4 Color() const { return m_color; }
|
||||
};
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user