1.0.11
+ Windows now have a default icon ~ Changed CVector.Set(params float[]) to CVector.SetRaw(params float[]) ~ I hope, the text rendering is now fixed. ~ Mouse2D.InWorld(Camera) now uses Camera.CalculatedWorldScale.
This commit is contained in:
parent
a921eb827e
commit
51f8dfd522
14 changed files with 78 additions and 24 deletions
|
|
@ -53,7 +53,7 @@ namespace SM.Base.Types
|
|||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public override void Set(params float[] parameters)
|
||||
public override void SetRaw(params float[] parameters)
|
||||
{
|
||||
X = parameters[0];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -87,9 +87,9 @@ namespace SM.Base.Types
|
|||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public override void Set(params float[] parameters)
|
||||
public override void SetRaw(params float[] parameters)
|
||||
{
|
||||
base.Set(parameters);
|
||||
base.SetRaw(parameters);
|
||||
Y = parameters[1];
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -82,9 +82,9 @@ namespace SM.Base.Types
|
|||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public override void Set(params float[] parameters)
|
||||
public override void SetRaw(params float[] parameters)
|
||||
{
|
||||
base.Set(parameters);
|
||||
base.SetRaw(parameters);
|
||||
Z = parameters[2];
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -66,9 +66,9 @@ namespace SM.Base.Types
|
|||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public override void Set(params float[] parameters)
|
||||
public override void SetRaw(params float[] parameters)
|
||||
{
|
||||
base.Set(parameters);
|
||||
base.SetRaw(parameters);
|
||||
W = parameters[3];
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ namespace SM.Base.Types
|
|||
/// Sets the values of the vector, by providing the values over an array.
|
||||
/// </summary>
|
||||
/// <param name="parameters"></param>
|
||||
public abstract void Set(params float[] parameters);
|
||||
public abstract void SetRaw(params float[] parameters);
|
||||
|
||||
/// <summary>
|
||||
/// This triggers the <see cref="Changed"/> event.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue