01748bc5f8
Adding dispose methods to AxiosFile objects Adding extended log to AxiosLog Fixing issue in CommandConsole where the first line would not be displayed Adding commands to commandconsole
25 lines
546 B
C#
25 lines
546 B
C#
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);
|
|
}
|
|
|
|
}
|
|
}
|