forked from MoonsideGames/MoonWorks
move PackedVector classes to MoonWorks.Graphics.PackedVector
parent
b223c31c8b
commit
d8064862bf
|
@ -1,12 +0,0 @@
|
||||||
using System;
|
|
||||||
|
|
||||||
namespace MoonWorks
|
|
||||||
{
|
|
||||||
public class AudioLoadException : Exception
|
|
||||||
{
|
|
||||||
public AudioLoadException(string message) : base(message)
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -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.
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
@ -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>
|
||||||
{
|
{
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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>
|
||||||
{
|
{
|
||||||
|
|
|
@ -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>
|
||||||
{
|
{
|
||||||
|
|
|
@ -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>
|
||||||
{
|
{
|
||||||
|
|
|
@ -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>
|
||||||
{
|
{
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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>
|
||||||
{
|
{
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue