VOX
A little voxel engine
|
#include <Model.hpp>
Classes | |
class | AttackAnimation |
struct | Vertex |
class | WalkAnimation |
Public Member Functions | |
PlayerModel () | |
~PlayerModel () | |
PlayerModel (PlayerModel &other)=delete | |
PlayerModel (PlayerModel &&other)=delete | |
PlayerModel & | operator= (PlayerModel &other)=delete |
PlayerModel & | operator= (PlayerModel &&other)=delete |
Static Public Attributes | |
static constexpr double | player_height = 1.8 |
static constexpr double | unit = player_height / 32.0 |
static constexpr glm::dvec3 | chest_size = glm::dvec3(8.0, 12.0, 4.0) * unit |
static constexpr glm::dvec3 | head_size = glm::dvec3(8.0, 8.0, 8.0) * unit |
static constexpr glm::dvec3 | leg_size = glm::dvec3(4.0, 12.0, 4.0) * unit |
static constexpr glm::dvec3 | arm_size = glm::dvec3(4.0, 12.0, 4.0) * unit |
static constexpr glm::vec3 | chest_pos = glm::vec3{0.0, leg_size.y, 0.0} |
static constexpr glm::vec3 | head_pos = glm::vec3{0.0, chest_size.y, 0.0} |
static constexpr glm::vec3 | left_leg_pos = glm::vec3{-leg_size.x / 2, 0.0, 0.0} |
static constexpr glm::vec3 | right_leg_pos = glm::vec3{leg_size.x / 2, 0.0, 0.0} |
static constexpr glm::vec3 | left_arm_pos = glm::vec3{-(arm_size.x / 2 + chest_size.x / 2), 0.0, 0.0} |
static constexpr glm::vec3 | right_arm_pos = glm::vec3{(arm_size.x / 2 + chest_size.x / 2), 0.0, 0.0} |
|
inline |
|
inline |
|
delete |
|
delete |
|
delete |
|
delete |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |