public void PackFromVector4Tests() { IPackedVector pv = new Color(); pv.PackFromVector4(new Vector4(1.0f, 0.75f, 0.5f, 0.0f)); Assert.AreEqual(0x00FFBF80, ((Color)pv).PackedValue); }
public void PackFromVector4Tests() { IPackedVector pv = new Color(); pv.PackFromVector4(new Vector4(1.0f, 0.75f, 0.5f, 0.0f)); Assert.AreEqual(0x00FFBF80, ((Color)pv).PackedValue); }