Table of Contents

Struct TriangleMesh.Triangle

Namespace
Jitter2.Collision.Shapes
Assembly
Jitter2.dll

Indices, neighbors, and local-space normal of one mesh triangle.

public struct TriangleMesh.Triangle
Inherited Members

Constructors

Triangle(int, int, int)

Indices, neighbors, and local-space normal of one mesh triangle.

public Triangle(int a, int b, int c)

Parameters

a int
b int
c int

Fields

IndexA

Indices of the triangle's vertices in Vertices.

public readonly int IndexA

Field Value

int

IndexB

Indices of the triangle's vertices in Vertices.

public readonly int IndexB

Field Value

int

IndexC

Indices of the triangle's vertices in Vertices.

public readonly int IndexC

Field Value

int

NeighborA

Neighbor triangle indices opposite the corresponding vertices, or -1 at a boundary.

public int NeighborA

Field Value

int

NeighborB

Neighbor triangle indices opposite the corresponding vertices, or -1 at a boundary.

public int NeighborB

Field Value

int

NeighborC

Neighbor triangle indices opposite the corresponding vertices, or -1 at a boundary.

public int NeighborC

Field Value

int

Normal

The triangle normal in mesh-local coordinates.

public JVector Normal

Field Value

JVector