Loads and loads of small improvements I added while developing on my game
This commit is contained in:
parent
41421b1df9
commit
a7c71e7ea1
107 changed files with 2278 additions and 1023 deletions
|
|
@ -16,6 +16,8 @@ namespace SM.Base.Drawing
|
|||
/// </summary>
|
||||
public bool Ignore = false;
|
||||
|
||||
public Matrix4 LastMaster { get; internal set; }
|
||||
|
||||
/// <summary>
|
||||
/// Contains the current model matrix.
|
||||
/// </summary>
|
||||
|
|
@ -43,6 +45,11 @@ namespace SM.Base.Drawing
|
|||
return _modelMatrix;
|
||||
}
|
||||
|
||||
public Matrix4 MergeMatrix(Matrix4 matrix)
|
||||
{
|
||||
return GetMatrix() * matrix;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Calculates the current matrix.
|
||||
/// </summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue