Fixed warning.

This commit is contained in:
bkaradzic 2013-04-13 11:38:51 -07:00
parent 05a18ab5cf
commit 6f13e31d2b

View file

@ -288,7 +288,7 @@ int _main_(int /*_argc*/, char** /*_argv*/)
float mtxInv[16]; float mtxInv[16];
mtxInverse(mtxInv, mtx); mtxInverse(mtxInv, mtx);
float lightDirModel[4] = { -0.4f, -0.5f, -1.0f, 0.0f }; float lightDirModel[4] = { -0.4f, -0.5f, -1.0f, 0.0f };
float lightDirModelN[4]; float lightDirModelN[4] = { 0.0f, 0.0f, 0.0f, 0.0f };
vec3Norm(lightDirModelN, lightDirModel); vec3Norm(lightDirModelN, lightDirModel);
float lightDir[4]; float lightDir[4];
vec4MulMtx(lightDir, lightDirModelN, mtxInv); vec4MulMtx(lightDir, lightDirModelN, mtxInv);