Skip to content

Struct DebugTriangle

Namespace: Apogee.Core.Graphics
Assembly: Apogee.Core.dll

A triangle to draw, in world positions, wound counter-clockwise seen from outside. The layout is that of Jolt's AjDebugTriangle (80 bytes).

public readonly record struct DebugTriangle : IEquatable<DebugTriangle>

Implements

IEquatable<DebugTriangle>

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

DebugTriangle(Double3, Double3, Double3, uint)

A triangle to draw, in world positions, wound counter-clockwise seen from outside. The layout is that of Jolt's AjDebugTriangle (80 bytes).

public DebugTriangle(Double3 A, Double3 B, Double3 C, uint Color)

Parameters

A Double3

B Double3

C Double3

Color uint

Properties

A

public Double3 A { get; init; }

Property Value

Double3

B

public Double3 B { get; init; }

Property Value

Double3

C

public Double3 C { get; init; }

Property Value

Double3

Color

public uint Color { get; init; }

Property Value

uint