daily update on 20231016 by nitload youmu, vao,vbo,ebo struct added
This commit is contained in:
@@ -5,12 +5,12 @@ namespace StgSharp.Math
|
||||
{
|
||||
public unsafe static partial class VectorCalc
|
||||
{
|
||||
public static Vec3d To3D(Vec2d vec)
|
||||
public static vec3d To3D(Vec2d vec)
|
||||
{
|
||||
return new Vec3d(vec.X, vec.Y, 0.0f);
|
||||
return new vec3d(vec.X, vec.Y, 0.0f);
|
||||
}
|
||||
|
||||
public static Vec2d To2D(Vec3d vec, CordinatePlain plain)
|
||||
public static Vec2d To2D(vec3d vec, CordinatePlain plain)
|
||||
{
|
||||
switch (plain)
|
||||
{
|
||||
@@ -30,9 +30,9 @@ namespace StgSharp.Math
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
internal static Vec3d To3D(Vector4 vector)
|
||||
internal static vec3d To3D(Vector4 vector)
|
||||
{
|
||||
return new Vec3d(vector);
|
||||
return new vec3d(vector);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user