Pär's fix i RenderScene
This commit is contained in:
parent
b2e98f1207
commit
fc19938f1b
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue