564 行
22 KiB
C#
564 行
22 KiB
C#
using ComputeSharp.Exceptions;
|
|
|
|
namespace ComputeSharp
|
|
{
|
|
/// <inheritdoc cref="Int3"/>
|
|
public partial struct Int3
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets a specific component in the current <see cref="Int3"/> instance.
|
|
/// </summary>
|
|
/// <param name="i">The index of the component to access.</param>
|
|
public ref int this[int i]
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}[int]");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int2"/> value with the values <see cref="X"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
public Int2 XX
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XX)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets or sets a <see cref="Int2"/> value with the values <see cref="X"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
public Int2 XY
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XY)}");
|
|
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XY)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets or sets a <see cref="Int2"/> value with the values <see cref="Y"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
public Int2 YX
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YX)}");
|
|
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YX)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int2"/> value with the values <see cref="Y"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
public Int2 YY
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YY)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int2"/> value with the values <see cref="R"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
public Int2 RR
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RR)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets or sets a <see cref="Int2"/> value with the values <see cref="R"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
public Int2 RG
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RG)}");
|
|
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RG)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets or sets a <see cref="Int2"/> value with the values <see cref="G"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
public Int2 GR
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GR)}");
|
|
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GR)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int2"/> value with the values <see cref="G"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
public Int2 GG
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GG)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with the values <see cref="X"/>, <see cref="X"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
public Int3 XXX
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XXX)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with the values <see cref="X"/>, <see cref="X"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
public Int3 XXY
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XXY)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with the values <see cref="X"/>, <see cref="X"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
public Int3 XXZ
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XXZ)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with the values <see cref="X"/>, <see cref="Y"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
public Int3 XYX
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XYX)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with the values <see cref="X"/>, <see cref="Y"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
public Int3 XYY
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XYY)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets or sets a <see cref="Int3"/> value with the values <see cref="X"/>, <see cref="Y"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
public Int3 XYZ
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XYZ)}");
|
|
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XYZ)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with the values <see cref="X"/>, <see cref="Z"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
public Int3 XZX
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XZX)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets or sets a <see cref="Int3"/> value with the values <see cref="X"/>, <see cref="Z"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
public Int3 XZY
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XZY)}");
|
|
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XZY)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with the values <see cref="X"/>, <see cref="Z"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
public Int3 XZZ
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XZZ)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with the values <see cref="Y"/>, <see cref="X"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
public Int3 YXX
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YXX)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with the values <see cref="Y"/>, <see cref="X"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
public Int3 YXY
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YXY)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets or sets a <see cref="Int3"/> value with the values <see cref="Y"/>, <see cref="X"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
public Int3 YXZ
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YXZ)}");
|
|
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YXZ)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with the values <see cref="Y"/>, <see cref="Y"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
public Int3 YYX
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YYX)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with the values <see cref="Y"/>, <see cref="Y"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
public Int3 YYY
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YYY)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with the values <see cref="Y"/>, <see cref="Y"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
public Int3 YYZ
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YYZ)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets or sets a <see cref="Int3"/> value with the values <see cref="Y"/>, <see cref="Z"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
public Int3 YZX
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YZX)}");
|
|
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YZX)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with the values <see cref="Y"/>, <see cref="Z"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
public Int3 YZY
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YZY)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with the values <see cref="Y"/>, <see cref="Z"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
public Int3 YZZ
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YZZ)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with the values <see cref="Z"/>, <see cref="X"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
public Int3 ZXX
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZXX)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets or sets a <see cref="Int3"/> value with the values <see cref="Z"/>, <see cref="X"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
public Int3 ZXY
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZXY)}");
|
|
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZXY)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with the values <see cref="Z"/>, <see cref="X"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
public Int3 ZXZ
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZXZ)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets or sets a <see cref="Int3"/> value with the values <see cref="Z"/>, <see cref="Y"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
public Int3 ZYX
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZYX)}");
|
|
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZYX)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with the values <see cref="Z"/>, <see cref="Y"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
public Int3 ZYY
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZYY)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with the values <see cref="Z"/>, <see cref="Y"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
public Int3 ZYZ
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZYZ)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with the values <see cref="Z"/>, <see cref="Z"/>, <see cref="X"/>.
|
|
/// </summary>
|
|
public Int3 ZZX
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZZX)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with the values <see cref="Z"/>, <see cref="Z"/>, <see cref="Y"/>.
|
|
/// </summary>
|
|
public Int3 ZZY
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZZY)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with the values <see cref="Z"/>, <see cref="Z"/>, <see cref="Z"/>.
|
|
/// </summary>
|
|
public Int3 ZZZ
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZZZ)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with the values <see cref="R"/>, <see cref="R"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
public Int3 RRR
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RRR)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with the values <see cref="R"/>, <see cref="R"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
public Int3 RRG
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RRG)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with the values <see cref="R"/>, <see cref="R"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
public Int3 RRB
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RRB)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with the values <see cref="R"/>, <see cref="G"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
public Int3 RGR
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RGR)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with the values <see cref="R"/>, <see cref="G"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
public Int3 RGG
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RGG)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets or sets a <see cref="Int3"/> value with the values <see cref="R"/>, <see cref="G"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
public Int3 RGB
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RGB)}");
|
|
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RGB)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with the values <see cref="R"/>, <see cref="B"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
public Int3 RBR
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RBR)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets or sets a <see cref="Int3"/> value with the values <see cref="R"/>, <see cref="B"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
public Int3 RBG
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RBG)}");
|
|
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RBG)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with the values <see cref="R"/>, <see cref="B"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
public Int3 RBB
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RBB)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with the values <see cref="G"/>, <see cref="R"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
public Int3 GRR
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GRR)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with the values <see cref="G"/>, <see cref="R"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
public Int3 GRG
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GRG)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets or sets a <see cref="Int3"/> value with the values <see cref="G"/>, <see cref="R"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
public Int3 GRB
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GRB)}");
|
|
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GRB)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with the values <see cref="G"/>, <see cref="G"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
public Int3 GGR
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GGR)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with the values <see cref="G"/>, <see cref="G"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
public Int3 GGG
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GGG)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with the values <see cref="G"/>, <see cref="G"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
public Int3 GGB
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GGB)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets or sets a <see cref="Int3"/> value with the values <see cref="G"/>, <see cref="B"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
public Int3 GBR
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GBR)}");
|
|
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GBR)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with the values <see cref="G"/>, <see cref="B"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
public Int3 GBG
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GBG)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with the values <see cref="G"/>, <see cref="B"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
public Int3 GBB
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GBB)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with the values <see cref="B"/>, <see cref="R"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
public Int3 BRR
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BRR)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets or sets a <see cref="Int3"/> value with the values <see cref="B"/>, <see cref="R"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
public Int3 BRG
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BRG)}");
|
|
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BRG)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with the values <see cref="B"/>, <see cref="R"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
public Int3 BRB
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BRB)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets or sets a <see cref="Int3"/> value with the values <see cref="B"/>, <see cref="G"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
public Int3 BGR
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BGR)}");
|
|
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BGR)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with the values <see cref="B"/>, <see cref="G"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
public Int3 BGG
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BGG)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with the values <see cref="B"/>, <see cref="G"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
public Int3 BGB
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BGB)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with the values <see cref="B"/>, <see cref="B"/>, <see cref="R"/>.
|
|
/// </summary>
|
|
public Int3 BBR
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BBR)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with the values <see cref="B"/>, <see cref="B"/>, <see cref="G"/>.
|
|
/// </summary>
|
|
public Int3 BBG
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BBG)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a <see cref="Int3"/> value with the values <see cref="B"/>, <see cref="B"/>, <see cref="B"/>.
|
|
/// </summary>
|
|
public Int3 BBB
|
|
{
|
|
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BBB)}");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Negates a <see cref="Int3"/> value.
|
|
/// </summary>
|
|
/// <param name="xyz">The <see cref="Int3"/> value to negate.</param>
|
|
public static Int3 operator -(Int3 xyz) => throw new InvalidExecutionContextException($"{nameof(Int3)}.-");
|
|
|
|
/// <summary>
|
|
/// Sums two <see cref="Int3"/> values.
|
|
/// </summary>
|
|
/// <param name="left">The first <see cref="Int3"/> value to sum.</param>
|
|
/// <param name="right">The second <see cref="Int3"/> value to sum.</param>
|
|
public static Int3 operator +(Int3 left, Int3 right) => throw new InvalidExecutionContextException($"{nameof(Int3)}.+");
|
|
|
|
/// <summary>
|
|
/// Divides two <see cref="Int3"/> values.
|
|
/// </summary>
|
|
/// <param name="left">The first <see cref="Int3"/> value to divide.</param>
|
|
/// <param name="right">The second <see cref="Int3"/> value to divide.</param>
|
|
public static Int3 operator /(Int3 left, Int3 right) => throw new InvalidExecutionContextException($"{nameof(Int3)}./");
|
|
|
|
/// <summary>
|
|
/// Multiplies two <see cref="Int3"/> values.
|
|
/// </summary>
|
|
/// <param name="left">The first <see cref="Int3"/> value to multiply.</param>
|
|
/// <param name="right">The second <see cref="Int3"/> value to multiply.</param>
|
|
public static Int3 operator *(Int3 left, Int3 right) => throw new InvalidExecutionContextException($"{nameof(Int3)}.*");
|
|
|
|
/// <summary>
|
|
/// Subtracts two <see cref="Int3"/> values.
|
|
/// </summary>
|
|
/// <param name="left">The first <see cref="Int3"/> value to subtract.</param>
|
|
/// <param name="right">The second <see cref="Int3"/> value to subtract.</param>
|
|
public static Int3 operator -(Int3 left, Int3 right) => throw new InvalidExecutionContextException($"{nameof(Int3)}.-");
|
|
}
|
|
}
|