use individual panel define as compute unit, kernel is now storage and loading unit

This commit is contained in:
Youmu Liu
2025-11-12 21:13:00 +08:00
parent bbe69f0384
commit 2dfb4ae86a
33 changed files with 522 additions and 58 deletions
@@ -34,12 +34,12 @@ namespace StgSharp.Mathematics.Graphic
public static float GetLength(this Vec3 vec)
{
return Scaler.Sqrt(vec.Dot(vec));
return Scalar.Sqrt(vec.Dot(vec));
}
public static float GetLength(this Vec2 vec)
{
return Scaler.Sqrt(vec.Dot(vec));
return Scalar.Sqrt(vec.Dot(vec));
}
}