30.09.2020
+ Mouse support + Started to add summaries to SM.Base
This commit is contained in:
parent
16366fa015
commit
7acdba92f8
21 changed files with 325 additions and 58 deletions
|
|
@ -19,7 +19,7 @@ namespace SM.Base.Scene
|
|||
|
||||
public virtual void Draw(DrawContext context)
|
||||
{
|
||||
if (!context.ForceViewport && Camera != null) context.View = Camera.ViewMatrix;
|
||||
if (!context.ForceViewport && Camera != null) context.View = Camera.CalculateViewMatrix();
|
||||
|
||||
DrawContext backgroundDrawContext = context;
|
||||
backgroundDrawContext.View = BackgroundCamera.CalculateViewMatrix();
|
||||
|
|
@ -33,5 +33,12 @@ namespace SM.Base.Scene
|
|||
HUD[i].Draw(context);
|
||||
}
|
||||
|
||||
internal void Activate()
|
||||
{
|
||||
OnActivating();
|
||||
}
|
||||
|
||||
protected virtual void OnActivating()
|
||||
{ }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue