Pär's fix i RenderScene

This commit is contained in:
Dander7BD 2014-02-18 10:40:27 +01:00
parent b2e98f1207
commit fc19938f1b
1 changed files with 2 additions and 2 deletions

View File

@ -50,8 +50,8 @@ namespace Oyster
if(models[i].Visible)
{
Definitions::PerModel pm;
pm.WV = View * models[i].WorldMatrix.GetInverse().GetTranspose();
pm.WVP = Projection * pm.WV;
pm.WV = View * models[i].WorldMatrix.GetTranspose().GetInverse();
pm.WVP = Projection * View * models[i].WorldMatrix;
Model::ModelInfo* info = models[i].info;