Exemplo n.º 1
0
 public static Float2 Sqrt(this Float2 x) => Exec(Math.Sqrt, x);
Exemplo n.º 2
0
 public static Float2 Rsqrt(this Float2 x) => new Float2(Rsqrt(x.x), Rsqrt(x.y));
Exemplo n.º 3
0
 public static Float2 Pow(this Float2 x, Float2 power) => Exec(Math.Pow, x, power);
Exemplo n.º 4
0
 public static Float2 Sign(this Float2 x) => Exec(SignCore, x);
Exemplo n.º 5
0
 public static Float2 Min(Float2 x, Float2 y) => Exec(Math.Min, x, y);
Exemplo n.º 6
0
 public static Float2 Max(Float2 x, Float2 y) => Exec(Math.Max, x, y);
Exemplo n.º 7
0
 public static Float2 Log2(this Float2 x) => Exec(Log2Core, x);
Exemplo n.º 8
0
 public static Float2 Log10(this Float2 x) => Exec(Math.Log10, x);
Exemplo n.º 9
0
 public static Float2 Tanh(this Float2 x) => Exec(Math.Tanh, x);
Exemplo n.º 10
0
 public static Float2 Exp(this Float2 x) => Exec(Math.Exp, x);
Exemplo n.º 11
0
 public static Float2 Sinh(this Float2 x) => Exec(Math.Sinh, x);
Exemplo n.º 12
0
 public static Float2 Cosh(this Float2 x) => Exec(Math.Cosh, x);
Exemplo 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.");
Exemplo 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.");
Exemplo 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.");