move PackedVector classes to MoonWorks.Graphics.PackedVector

cosmonaut 2023-09-19 16:50:08 -07:00
parent b223c31c8b
commit d8064862bf
20 changed files with 19 additions and 31 deletions

View File

@ -1,12 +0,0 @@
using System;
namespace MoonWorks
{
public class AudioLoadException : Exception
{
public AudioLoadException(string message) : base(message)
{
}
}
}

View File

@ -20,7 +20,7 @@ using MoonWorks.Math;
using MoonWorks.Math.Float; using MoonWorks.Math.Float;
#endregion #endregion
namespace MoonWorks.Graphics namespace MoonWorks.Graphics.PackedVector
{ {
/// <summary> /// <summary>
/// Packed vector type containing unsigned normalized values ranging from 0 to 1. /// Packed vector type containing unsigned normalized values ranging from 0 to 1.

View File

@ -20,7 +20,7 @@ using MoonWorks.Math;
using MoonWorks.Math.Float; using MoonWorks.Math.Float;
#endregion #endregion
namespace MoonWorks.Graphics namespace MoonWorks.Graphics.PackedVector
{ {
/// <summary> /// <summary>
/// Packed vector type containing unsigned normalized values ranging from 0 to 1. /// Packed vector type containing unsigned normalized values ranging from 0 to 1.

View File

@ -20,7 +20,7 @@ using MoonWorks.Math;
using MoonWorks.Math.Float; using MoonWorks.Math.Float;
#endregion #endregion
namespace MoonWorks.Graphics namespace MoonWorks.Graphics.PackedVector
{ {
/// <summary> /// <summary>
/// Packed vector type containing unsigned normalized values, ranging from 0 to 1, using /// Packed vector type containing unsigned normalized values, ranging from 0 to 1, using

View File

@ -20,7 +20,7 @@ using MoonWorks.Math;
using MoonWorks.Math.Float; using MoonWorks.Math.Float;
#endregion #endregion
namespace MoonWorks.Graphics namespace MoonWorks.Graphics.PackedVector
{ {
/// <summary> /// <summary>
/// Packed vector type containing unsigned normalized values ranging from 0 to 1. /// Packed vector type containing unsigned normalized values ranging from 0 to 1.

View File

@ -20,7 +20,7 @@ using MoonWorks.Math;
using MoonWorks.Math.Float; using MoonWorks.Math.Float;
#endregion #endregion
namespace MoonWorks.Graphics namespace MoonWorks.Graphics.PackedVector
{ {
/// <summary> /// <summary>
/// Packed vector type containing four 8-bit unsigned integer values, ranging from 0 to 255. /// Packed vector type containing four 8-bit unsigned integer values, ranging from 0 to 255.

View File

@ -19,7 +19,7 @@ using System;
using MoonWorks.Math.Float; using MoonWorks.Math.Float;
#endregion #endregion
namespace MoonWorks.Graphics namespace MoonWorks.Graphics.PackedVector
{ {
public struct HalfSingle : IPackedVector<ushort>, IEquatable<HalfSingle>, IPackedVector public struct HalfSingle : IPackedVector<ushort>, IEquatable<HalfSingle>, IPackedVector
{ {

View File

@ -19,7 +19,7 @@ using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
#endregion #endregion
namespace MoonWorks.Graphics namespace MoonWorks.Graphics.PackedVector
{ {
internal static class HalfTypeHelper internal static class HalfTypeHelper
{ {

View File

@ -19,7 +19,7 @@ using System;
using MoonWorks.Math.Float; using MoonWorks.Math.Float;
#endregion #endregion
namespace MoonWorks.Graphics namespace MoonWorks.Graphics.PackedVector
{ {
public struct HalfVector2 : IPackedVector<uint>, IPackedVector, IEquatable<HalfVector2> public struct HalfVector2 : IPackedVector<uint>, IPackedVector, IEquatable<HalfVector2>
{ {

View File

@ -19,7 +19,7 @@ using System;
using MoonWorks.Math.Float; using MoonWorks.Math.Float;
#endregion #endregion
namespace MoonWorks.Graphics namespace MoonWorks.Graphics.PackedVector
{ {
/// <summary> /// <summary>
/// Packed vector type containing four 16-bit floating-point values. /// Packed vector type containing four 16-bit floating-point values.

View File

@ -16,7 +16,7 @@
using MoonWorks.Math.Float; using MoonWorks.Math.Float;
namespace MoonWorks.Graphics namespace MoonWorks.Graphics.PackedVector
{ {
// http://msdn.microsoft.com/en-us/library/microsoft.xna.framework.graphics.packedvector.ipackedvector.aspx // http://msdn.microsoft.com/en-us/library/microsoft.xna.framework.graphics.packedvector.ipackedvector.aspx
public interface IPackedVector public interface IPackedVector

View File

@ -20,7 +20,7 @@ using MoonWorks.Math;
using MoonWorks.Math.Float; using MoonWorks.Math.Float;
#endregion #endregion
namespace MoonWorks.Graphics namespace MoonWorks.Graphics.PackedVector
{ {
public struct NormalizedByte2 : IPackedVector<ushort>, IEquatable<NormalizedByte2> public struct NormalizedByte2 : IPackedVector<ushort>, IEquatable<NormalizedByte2>
{ {

View File

@ -20,7 +20,7 @@ using MoonWorks.Math;
using MoonWorks.Math.Float; using MoonWorks.Math.Float;
#endregion #endregion
namespace MoonWorks.Graphics namespace MoonWorks.Graphics.PackedVector
{ {
public struct NormalizedByte4 : IPackedVector<uint>, IEquatable<NormalizedByte4> public struct NormalizedByte4 : IPackedVector<uint>, IEquatable<NormalizedByte4>
{ {

View File

@ -20,7 +20,7 @@ using MoonWorks.Math;
using MoonWorks.Math.Float; using MoonWorks.Math.Float;
#endregion #endregion
namespace MoonWorks.Graphics namespace MoonWorks.Graphics.PackedVector
{ {
public struct NormalizedShort2 : IPackedVector<uint>, IEquatable<NormalizedShort2> public struct NormalizedShort2 : IPackedVector<uint>, IEquatable<NormalizedShort2>
{ {

View File

@ -20,7 +20,7 @@ using MoonWorks.Math;
using MoonWorks.Math.Float; using MoonWorks.Math.Float;
#endregion #endregion
namespace MoonWorks.Graphics namespace MoonWorks.Graphics.PackedVector
{ {
public struct NormalizedShort4 : IPackedVector<ulong>, IEquatable<NormalizedShort4> public struct NormalizedShort4 : IPackedVector<ulong>, IEquatable<NormalizedShort4>
{ {

View File

@ -20,7 +20,7 @@ using MoonWorks.Math;
using MoonWorks.Math.Float; using MoonWorks.Math.Float;
#endregion #endregion
namespace MoonWorks.Graphics namespace MoonWorks.Graphics.PackedVector
{ {
/// <summary> /// <summary>
/// Packed vector type containing unsigned normalized values ranging from 0 to 1. /// Packed vector type containing unsigned normalized values ranging from 0 to 1.

View File

@ -20,7 +20,7 @@ using MoonWorks.Math;
using MoonWorks.Math.Float; using MoonWorks.Math.Float;
#endregion #endregion
namespace MoonWorks.Graphics namespace MoonWorks.Graphics.PackedVector
{ {
/// <summary> /// <summary>
/// Packed vector type containing unsigned normalized values ranging from 0 to 1. /// Packed vector type containing unsigned normalized values ranging from 0 to 1.

View File

@ -20,7 +20,7 @@ using MoonWorks.Math;
using MoonWorks.Math.Float; using MoonWorks.Math.Float;
#endregion #endregion
namespace MoonWorks.Graphics namespace MoonWorks.Graphics.PackedVector
{ {
/// <summary> /// <summary>
/// Packed vector type containing unsigned normalized values ranging from 0 to 1. /// Packed vector type containing unsigned normalized values ranging from 0 to 1.

View File

@ -20,7 +20,7 @@ using MoonWorks.Math;
using MoonWorks.Math.Float; using MoonWorks.Math.Float;
#endregion #endregion
namespace MoonWorks.Graphics namespace MoonWorks.Graphics.PackedVector
{ {
public struct Short2 : IPackedVector<uint>, IEquatable<Short2> public struct Short2 : IPackedVector<uint>, IEquatable<Short2>
{ {

View File

@ -20,7 +20,7 @@ using MoonWorks.Math;
using MoonWorks.Math.Float; using MoonWorks.Math.Float;
#endregion #endregion
namespace MoonWorks.Graphics namespace MoonWorks.Graphics.PackedVector
{ {
/// <summary> /// <summary>
/// Packed vector type containing four 16-bit signed integer values. /// Packed vector type containing four 16-bit signed integer values.