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
|
|
@ -2,10 +2,22 @@
|
|||
|
||||
namespace SM.Base.Scene
|
||||
{
|
||||
/// <summary>
|
||||
/// This represens a drawing instance.
|
||||
/// </summary>
|
||||
public struct Instance
|
||||
{
|
||||
/// <summary>
|
||||
/// The model matrix.
|
||||
/// </summary>
|
||||
public Matrix4 ModelMatrix;
|
||||
/// <summary>
|
||||
/// The texture offset.
|
||||
/// </summary>
|
||||
public Vector2 TexturePosition;
|
||||
/// <summary>
|
||||
/// The texture scale.
|
||||
/// </summary>
|
||||
public Vector2 TextureScale;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue