Scripting WIP (#70)

* Scripting introduced

* AppImage workflow fixes

* AppImage workflow simplified

* README.md update

* README.md update

* small fix
This commit is contained in:
MihailRis
2023-12-25 05:26:03 +03:00
committed by GitHub
parent ce26f0c227
commit acce49f188
35 changed files with 649 additions and 138 deletions
+2 -2
View File
@@ -17,7 +17,7 @@ Level::Level(World* world, const Content* content, Player* player, EngineSetting
chunksStorage(new ChunksStorage(this)),
events(new LevelEvents()) ,
settings(settings) {
physics = new PhysicsSolver(vec3(0, -22.6f, 0));
physics = new PhysicsSolver(glm::vec3(0, -22.6f, 0));
uint matrixSize = (settings.chunks.loadDistance+
settings.chunks.padding) * 2;
@@ -40,7 +40,7 @@ Level::~Level(){
}
void Level::update() {
vec3 position = player->hitbox->position;
glm::vec3 position = player->hitbox->position;
chunks->setCenter(position.x, position.z);
int matrixSize = (settings.chunks.loadDistance+