HPL1: fix warnings

This commit is contained in:
grisenti 2022-12-15 22:25:43 +01:00 committed by Eugene Sandulenko
parent 42f30493ee
commit 5cce4db808
No known key found for this signature in database
GPG Key ID: 014D387312D34F08
2 changed files with 1 additions and 2 deletions

View File

@ -430,7 +430,6 @@ bool cParticleEmitterData3D_UserData::CheckCollision(const cVector3f &avStart,
iPhysicsWorld *apPhysicsWorld,
cVector3f *apNormalVec,
cVector3f *apPosVec) {
cVector3f vNormal;
mfShortestDist = 99999.0f;
mbIntersected = false;

View File

@ -45,7 +45,7 @@
namespace hpl {
static const cMatrixf g_mtxTextureUnitFix(0.5f, 0, 0, 0.5f,
static constexpr cMatrixf g_mtxTextureUnitFix(0.5f, 0, 0, 0.5f,
0, -0.5f, 0, 0.5f,
0, 0, 0.5f, 0.5f,
0, 0, 0, 1.0f);