30 lines
364 B
C++
30 lines
364 B
C++
#ifndef MINECRAFT_WORLD_ENTITY_H_
|
|
#define MINECRAFT_WORLD_ENTITY_H_
|
|
|
|
#include "../common.hpp"
|
|
|
|
class Entity {
|
|
public:
|
|
|
|
Entity();
|
|
|
|
// World position
|
|
glm::vec3 Position;
|
|
// Look direction
|
|
glm::vec3 Direction;
|
|
|
|
// Velocity in direction
|
|
// of movement
|
|
glm::vec3 Velocity;
|
|
|
|
// Collider
|
|
|
|
|
|
// Mesh (or reference to)
|
|
|
|
|
|
|
|
};
|
|
|
|
#endif
|