1
0

burning v0.53 g++ warning remove

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6365 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
engineer_apple
2022-05-01 00:59:58 +00:00
parent 4fe6a16165
commit e08e37fc0f
4 changed files with 14 additions and 2 deletions

View File

@@ -2153,11 +2153,13 @@ void CBurningVideoDriver::VertexCache_fill(const u32 sourceIndex, const u32 dest
v.x = dot(lightdir, t);
v.y = dot(lightdir, b);
v.z = dot(lightdir, n);
v.w = 0;
lightVec = normalize(v);
v.x = dot(vertexPosition, t);
v.y = dot(vertexPosition, b);
v.z = dot(vertexPosition, n);
v.w = 0;
eyeVec = normalize(v);
vertexPosition = normalize(vertexPosition);
@@ -3366,7 +3368,7 @@ void CBurningVideoDriver::assignHardwareLight(SBurningShaderLight& l, const SLig
//! adds a dynamic light
s32 CBurningVideoDriver::addDynamicLight(const SLight& dl)
{
s32 i0 = CNullDriver::addDynamicLight(dl);
/*s32 i0 = */CNullDriver::addDynamicLight(dl);
SBurningShaderLight l;
EyeSpace.Light.push_back(l);