All changes made for 10th part of tutorial

voxel_engine.cpp - changed structure, added character controls, physics
almost all files are modified (including shaders)
+ new source directory - physics
This commit is contained in:
MihailRis 2021-08-04 01:45:04 +03:00 • committed by GitHub
parent e1cdcf01e9
commit 1a00a11917
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 587 additions and 149 deletions

4
src/physics/Hitbox.cpp Normal file
View file

@ -0,0 +1,4 @@
#include "Hitbox.h"
Hitbox::Hitbox(vec3 position, vec3 halfsize) : position(position), halfsize(halfsize), velocity(0.0f,0.0f,0.0f) {
}