forked from mirror/DotRecast
update _viewMatrix in DebugDraw
This commit is contained in:
parent
01d7740e81
commit
5ac225a712
|
@ -648,6 +648,7 @@ public class DebugDraw
|
|||
t.M42 = -cameraPos.y;
|
||||
t.M43 = -cameraPos.z;
|
||||
var mul = RcMatrix4x4f.Mul(r, t);
|
||||
mul.CopyTo(_viewMatrix);
|
||||
GetOpenGlDraw().ViewMatrix(ref mul);
|
||||
UpdateFrustum();
|
||||
return mul;
|
||||
|
|
Loading…
Reference in New Issue