Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

Commit

Permalink
Vector conversions.
Browse files Browse the repository at this point in the history
  • Loading branch information
jessefreeman committed May 21, 2020
1 parent 9634590 commit 2ff4037
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ This package provides you with MonoGame Framework that uses OpenGL for rendering
<ItemGroup>
<Compile Remove="bin\**\*" />
<Compile Remove="Content\**" />
<Compile Remove="Design\**" />
<Compile Remove="Graphics\PackedVector\**" />
<Compile Remove="Media\**" />
<Compile Remove="obj\**\*" />
Expand All @@ -32,6 +33,7 @@ This package provides you with MonoGame Framework that uses OpenGL for rendering
<Compile Remove="Properties\**\*" />
<Compile Remove="Utilities\LzxStream\**" />
<EmbeddedResource Remove="Content\**" />
<EmbeddedResource Remove="Design\**" />
<EmbeddedResource Remove="Graphics\PackedVector\**" />
<EmbeddedResource Remove="Media\**" />
<EmbeddedResource Remove="Platform\Media\**" />
Expand All @@ -40,6 +42,7 @@ This package provides you with MonoGame Framework that uses OpenGL for rendering

<ItemGroup>
<None Remove="Content\**" />
<None Remove="Design\**" />
<None Remove="Graphics\PackedVector\**" />
<None Remove="Media\**" />
<None Remove="Platform\**\*" />
Expand Down
6 changes: 3 additions & 3 deletions MonoGame/MonoGame.Framework/Vector2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ namespace Microsoft.Xna.Framework
/// <summary>
/// Describes a 2D-vector.
/// </summary>
#if XNADESIGNPROVIDED
[System.ComponentModel.TypeConverter(typeof(Microsoft.Xna.Framework.Design.Vector2TypeConverter))]
#endif
// #if XNADESIGNPROVIDED
// [System.ComponentModel.TypeConverter(typeof(Microsoft.Xna.Framework.Design.Vector2TypeConverter))]
// #endif
[DataContract]
[DebuggerDisplay("{DebugDisplayString,nq}")]
public struct Vector2 : IEquatable<Vector2>
Expand Down
6 changes: 3 additions & 3 deletions MonoGame/MonoGame.Framework/Vector3.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ namespace Microsoft.Xna.Framework
/// <summary>
/// Describes a 3D-vector.
/// </summary>
#if XNADESIGNPROVIDED
[System.ComponentModel.TypeConverter(typeof(Microsoft.Xna.Framework.Design.Vector3TypeConverter))]
#endif
// #if XNADESIGNPROVIDED
// [System.ComponentModel.TypeConverter(typeof(Microsoft.Xna.Framework.Design.Vector3TypeConverter))]
// #endif
[DataContract]
[DebuggerDisplay("{DebugDisplayString,nq}")]
public struct Vector3 : IEquatable<Vector3>
Expand Down
6 changes: 3 additions & 3 deletions MonoGame/MonoGame.Framework/Vector4.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ namespace Microsoft.Xna.Framework
/// <summary>
/// Describes a 4D-vector.
/// </summary>
#if XNADESIGNPROVIDED
[System.ComponentModel.TypeConverter(typeof(Microsoft.Xna.Framework.Design.Vector4TypeConverter))]
#endif
// #if XNADESIGNPROVIDED
// [System.ComponentModel.TypeConverter(typeof(Microsoft.Xna.Framework.Design.Vector4TypeConverter))]
// #endif
[DataContract]
[DebuggerDisplay("{DebugDisplayString,nq}")]
public struct Vector4 : IEquatable<Vector4>
Expand Down

0 comments on commit 2ff4037

Please sign in to comment.