pull/1035/head
ChenX 4 years ago
parent dbb979f1d2
commit d785f96b70

@ -165,13 +165,9 @@ export class CameraUpdate
let viewAspectRatio = this.Aspect;
//
if (aspectRatio > viewAspectRatio)
{
this.ViewHeight = size.x / viewAspectRatio;
}
else
{
this.ViewHeight = size.y;
}
this.Update();
}
@ -187,10 +183,7 @@ export class CameraUpdate
this.UpdateUp();
this.Update();
}
LookAtEvent(dir: Vector3)
{
}
LookAtEvent(dir: Vector3) { }
UpdateUp()
{

Loading…
Cancel
Save