2015-01-01 20:36:46 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using Microsoft.Xna.Framework;
|
|
|
|
|
using Gleed2D.InGame;
|
|
|
|
|
using FarseerPhysics.SamplesFramework;
|
|
|
|
|
|
|
|
|
|
namespace Axios.Engine.Extensions
|
|
|
|
|
{
|
|
|
|
|
public static class AxiosExtensions_Vector2
|
|
|
|
|
{
|
|
|
|
|
public static Vector2 toSimUnits(this Vector2 vec)
|
|
|
|
|
{
|
|
|
|
|
return ConvertUnits.ToSimUnits(vec);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Vector2 toDisplayUnits(this Vector2 vec)
|
|
|
|
|
{
|
|
|
|
|
return ConvertUnits.ToDisplayUnits(vec);
|
|
|
|
|
}
|
2015-01-03 02:14:38 +00:00
|
|
|
|
|
2015-01-01 20:36:46 +00:00
|
|
|
|
}
|
|
|
|
|
}
|