Table of Contents

Interface IDebugDrawer

Namespace
Jitter2
Assembly
Jitter2.dll

Defines an interface for drawing debug visualization elements.

public interface IDebugDrawer

Methods

DrawPoint(in JVector)

Draws a point at the specified position.

void DrawPoint(in JVector p)

Parameters

p JVector

The position of the point.

DrawSegment(in JVector, in JVector)

Draws a line segment between two points.

void DrawSegment(in JVector pA, in JVector pB)

Parameters

pA JVector

The start point of the segment.

pB JVector

The end point of the segment.

DrawTriangle(in JVector, in JVector, in JVector)

Draws a triangle defined by three vertices.

void DrawTriangle(in JVector pA, in JVector pB, in JVector pC)

Parameters

pA JVector

The first vertex of the triangle.

pB JVector

The second vertex of the triangle.

pC JVector

The third vertex of the triangle.