Make world rendering work.
This commit is contained in:
parent
d99b70eaa1
commit
48d055e889
22 changed files with 438 additions and 82 deletions
18
src/server/ServerPlayer.h
Normal file
18
src/server/ServerPlayer.h
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#pragma once
|
||||
|
||||
#include <glm.hpp>
|
||||
|
||||
namespace Artifact {
|
||||
|
||||
class ServerPlayer {
|
||||
public:
|
||||
ServerPlayer();
|
||||
|
||||
glm::ivec3 lastChunkPos;
|
||||
glm::vec3 pos;
|
||||
double pitch;
|
||||
double yaw;
|
||||
int viewRange = 4;
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue