Botcraft 1.21.4
Loading...
Searching...
No Matches
Entity.hpp
Go to the documentation of this file.
1#pragma once
2
4
6
7namespace Botcraft
8{
9 namespace Renderer
10 {
11 class Entity : public BlockRenderable
12 {
13 public:
14 Entity(const std::vector<Face>& faces_);
15 ~Entity();
16
17 void Update();
18 void UpdateFaces(const std::vector<Face>& faces_);
19
20 /// @brief Get an approximate position for this model
21 /// @return The center of the first face of this entity
23 };
24 } // Renderer
25} // Botcraft
Vector3< float > GetApproxPos()
Get an approximate position for this model.
Definition Entity.cpp:72
void UpdateFaces(const std::vector< Face > &faces_)
Definition Entity.cpp:61