23 lines
388 B
C#
23 lines
388 B
C#
using StgSharp.Math;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace StgSharp.Optimization
|
|
{
|
|
public static unsafe partial class SSE
|
|
{
|
|
|
|
public static m128 ToM128(this vec2d vec)
|
|
{
|
|
return *(m128*)&vec;
|
|
}
|
|
|
|
public static m128 ToVec4D(this m128 m)
|
|
{
|
|
return *(m128*)&m;
|
|
}
|
|
|
|
}
|
|
}
|