mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
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:
parent
e1cdcf01e9
commit
1a00a11917
22 changed files with 587 additions and 149 deletions
4
src/physics/Hitbox.cpp
Normal file
4
src/physics/Hitbox.cpp
Normal 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) {
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue