Esempio n. 1
0
 public static Float2 Sqrt(this Float2 x) => Exec(Math.Sqrt, x);
Esempio n. 2
0
 public static Float2 Rsqrt(this Float2 x) => new Float2(Rsqrt(x.x), Rsqrt(x.y));
Esempio n. 3
0
 public static Float2 Pow(this Float2 x, Float2 power) => Exec(Math.Pow, x, power);
Esempio n. 4
0
 public static Float2 Sign(this Float2 x) => Exec(SignCore, x);
Esempio n. 5
0
 public static Float2 Min(Float2 x, Float2 y) => Exec(Math.Min, x, y);
Esempio n. 6
0
 public static Float2 Max(Float2 x, Float2 y) => Exec(Math.Max, x, y);
Esempio n. 7
0
 public static Float2 Log2(this Float2 x) => Exec(Log2Core, x);
Esempio n. 8
0
 public static Float2 Log10(this Float2 x) => Exec(Math.Log10, x);
Esempio n. 9
0
 public static Float2 Tanh(this Float2 x) => Exec(Math.Tanh, x);
Esempio n. 10
0
 public static Float2 Exp(this Float2 x) => Exec(Math.Exp, x);
Esempio n. 11
0
 public static Float2 Sinh(this Float2 x) => Exec(Math.Sinh, x);
Esempio n. 12
0
 public static Float2 Cosh(this Float2 x) => Exec(Math.Cosh, x);
Esempio n. 13
0
 public void DrawEllipse(Float4 fillColor, Float4 borderColor, float borderThickness, Float2 center, float radiusX, float radiusY) => throw new NotSupportedException("Vector operations are not supported by this implementation.");
Esempio n. 14
0
 public void DrawRoundedRectangle(Float4 fillColor, Float4 borderColor, float borderThickness, Float2 topLeft, Float2 bottomRight, float radiusX, float radiusY) => throw new NotSupportedException("Vector operations are not supported by this implementation.");
Esempio n. 15
0
 public void DrawLine(Float4 color, float thickness, Float2 a, Float2 b) => throw new NotSupportedException("Vector operations are not supported by this implementation.");