mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
Fixed PhysicsSolver, added zoom, linear_damping
This commit is contained in:
parent
2aba3e91db
commit
10931372cc
8 changed files with 83 additions and 46 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#include "Hitbox.h"
|
||||
|
||||
Hitbox::Hitbox(vec3 position, vec3 halfsize) : position(position), halfsize(halfsize), velocity(0.0f,0.0f,0.0f) {
|
||||
Hitbox::Hitbox(vec3 position, vec3 halfsize) : position(position), halfsize(halfsize), velocity(0.0f,0.0f,0.0f), linear_damping(0.1f) {
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue