use individual panel define as compute unit, kernel is now storage and loading unit
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user