time service contains bug, it cannot stop after edge
This commit is contained in:
@@ -185,7 +185,7 @@ namespace StgSharp.Mathematics.Graphic
|
||||
mat.transpose.colum2 = rowSpan[2].vec;
|
||||
mat.transpose.colum3 = rowSpan[3].vec;
|
||||
|
||||
NativeIntrinsic.Intrinsic.f32_transpose(&mat.transpose, &mat.mat);
|
||||
NativeIntrinsic.Intrinsic.f32_buffer_transpose(&mat.transpose, &mat.mat);
|
||||
mat.isTransposed = false;
|
||||
return mat;
|
||||
}
|
||||
@@ -208,7 +208,7 @@ namespace StgSharp.Mathematics.Graphic
|
||||
if (!isTransposed)
|
||||
{
|
||||
fixed (ColumnSet4* source = &mat, target = &transpose) {
|
||||
NativeIntrinsic.Intrinsic.f32_transpose(source, target);
|
||||
NativeIntrinsic.Intrinsic.f32_buffer_transpose(source, target);
|
||||
}
|
||||
isTransposed = true;
|
||||
}
|
||||
@@ -218,7 +218,7 @@ namespace StgSharp.Mathematics.Graphic
|
||||
public static unsafe Matrix44 operator -(Matrix44 left, Matrix44 right)
|
||||
{
|
||||
Matrix44 ret = new();
|
||||
NativeIntrinsic.Intrinsic.f32_sub(&left, &right, &ret, 1);
|
||||
NativeIntrinsic.Intrinsic.f32_buffer_sub(&left, &right, &ret, 1);
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -260,7 +260,7 @@ namespace StgSharp.Mathematics.Graphic
|
||||
public static unsafe Matrix44 operator +(Matrix44 left, Matrix44 right)
|
||||
{
|
||||
Matrix44 ret = new();
|
||||
NativeIntrinsic.Intrinsic.f32_add(&left, &right, &ret, 1);
|
||||
NativeIntrinsic.Intrinsic.f32_buffer_add(&left, &right, &ret, 1);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user