01.10.2020
+ Time controls (Stopwatch, Timers, Intervals) + Added smmeries to everything in SM.Base ~ Renamed Vectors to CVectors.
This commit is contained in:
parent
7acdba92f8
commit
97e638d9d9
44 changed files with 1092 additions and 289 deletions
|
|
@ -1,16 +1,29 @@
|
|||
using System;
|
||||
using System.Configuration.Assemblies;
|
||||
using OpenTK;
|
||||
|
||||
namespace SM.Data.Fonts
|
||||
namespace SM.Base.Text
|
||||
{
|
||||
/// <summary>
|
||||
/// Contains information for a font character.
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class CharParameter
|
||||
public struct CharParameter
|
||||
{
|
||||
/// <summary>
|
||||
/// The position on the X-axis.
|
||||
/// </summary>
|
||||
public int X;
|
||||
/// <summary>
|
||||
/// The width of the character.
|
||||
/// </summary>
|
||||
public float Width;
|
||||
|
||||
public float RelativeX;
|
||||
public float RelativeWidth;
|
||||
/// <summary>
|
||||
/// The normalized position inside the texture.
|
||||
/// </summary>
|
||||
public float NormalizedX;
|
||||
/// <summary>
|
||||
/// The normalized width inside the texture.
|
||||
/// </summary>
|
||||
public float NormalizedWidth;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue