mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 04: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
|
|
@ -17,9 +17,11 @@ public:
|
|||
vec3 front;
|
||||
vec3 up;
|
||||
vec3 right;
|
||||
vec3 dir;
|
||||
|
||||
vec3 position;
|
||||
float fov;
|
||||
float zoom;
|
||||
mat4 rotation;
|
||||
Camera(vec3 position, float fov);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue