Skip to content

Commit

Permalink
DirectX12 Collision
Browse files Browse the repository at this point in the history
  • Loading branch information
moonwho101 committed Oct 8, 2024
1 parent a731935 commit 4830a71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GameLogic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ int CalculateView(XMFLOAT3 EyeBall, XMFLOAT3 LookPoint, float angle, bool distan
float qdist = FastDistance(EyeBall.x - LookPoint.x, EyeBall.y - LookPoint.y,
EyeBall.z - LookPoint.z);

if (qdist < 170.0f) {
if (qdist < 1170.0f) {
monsteron = 1;
return monsteron;
}
Expand Down

0 comments on commit 4830a71

Please sign in to comment.