diff options
| author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-10-02 17:32:23 +0700 |
|---|---|---|
| committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-10-02 17:32:23 +0700 |
| commit | 4aeff0886aa61ed3834ef4826aa1a1f3e99508b1 (patch) | |
| tree | 0be178818e4ed9de7e70872c224ce73adaba8f6a /src/Skeleton.cpp | |
| parent | 7a4fdb3978c36e4309479806140f38669bcd3883 (diff) | |
| download | blackshades-4aeff0886aa61ed3834ef4826aa1a1f3e99508b1.tar.gz | |
Clean up unused functions and style2.4.0
Diffstat (limited to 'src/Skeleton.cpp')
| -rw-r--r-- | src/Skeleton.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Skeleton.cpp b/src/Skeleton.cpp index ba27aa4..6aa3508 100644 --- a/src/Skeleton.cpp +++ b/src/Skeleton.cpp @@ -1,6 +1,6 @@ /**> HEADER FILES <**/ +#include "Camera.h" #include "Skeleton.h" -#include "Serialize.h" #include "misc.h" extern float multiplier; @@ -133,7 +133,7 @@ void Skeleton::DoConstraints(Model *collide, XYZ *move, float rotation) joints[i].velocity.z *= 0.3; } - offset = 0.2; + offset = true; if (whichtri != -1 && collide->normals[whichtri].y <= 0.8) { normalrotated = DoRotation(collide->normals[whichtri], 0, rotation, 0); |
