/// <summary> /// Converts the <see cref="NormalizedUnsignedInt3"/> instance to a <see cref="Vector3"/> instance. /// </summary> /// <returns>The <see cref="Vector3"/> instance which was created.</returns> public Vector3 ToVector3() { return(new Vector3( PackedVectorUtils.UnpackNormalizedUnsigned(PackingMask, X), PackedVectorUtils.UnpackNormalizedUnsigned(PackingMask, Y), PackedVectorUtils.UnpackNormalizedUnsigned(PackingMask, Z))); }
/// <summary> /// Converts the <see cref="NormalizedShort1"/> instance to a <see cref="Single"/> instance. /// </summary> /// <returns>The <see cref="Single"/> instance which was created.</returns> public Single ToSingle() { return(PackedVectorUtils.UnpackNormalizedUnsigned(PackingMask, X)); }