using System;
using System.Collections.Generic;
using System.Linq;

namespace PhysX.Samples.Engine
{
	public static class MathExtensions
	{
		public static SharpDX.Vector3 AsSharpDX(this System.Numerics.Vector3 vector3)
		{
			return new SharpDX.Vector3(vector3.X, vector3.Y, vector3.Z);
		}

		public static System.Numerics.Vector3 AsPhysX(this SharpDX.Vector3 vector3)
		{
			return new System.Numerics.Vector3(vector3.X, vector3.Y, vector3.Z);
		}

		//public static System.Numerics.Matrix4x4 AsPhysX(this SharpDX.Matrix m)
		//{
		//	return new System.Numerics.Matrix4x4
		//	(
		//		m.M11, m.M12, m.M13, m.M14,
		//		m.M21, m.M22, m.M23, m.M24,
		//		m.M31, m.M32, m.M33, m.M34,
		//		m.M41, m.M42, m.M43, m.M44
		//	);
		//}
	}
}