C# Class Microsoft.Xna.Framework.Graphics.PackedVector.HalfUtils

Datei anzeigen Open project: DeathCradle/Open-Terraria-API Class Usage Examples

Public Methods

Method Description
Pack ( float value ) : ushort
Unpack ( ushort value ) : float

Method Details

Pack() public static method

public static Pack ( float value ) : ushort
value float
return ushort

Unpack() public static method

public static Unpack ( ushort value ) : float
value ushort
return float