GlDebugging2D

Undocumented in source.

Members

Static functions

DrawDots
void DrawDots(Vector2[] dot_points, Color color)

Draws dots based on specified points and color.

DrawLines
void DrawLines(Vector2[] line_points, Color color)

Draws lines based on specified points and color.

DrawRectangle
void DrawRectangle(Rectangle rect, Color color)

Draws a line rectangle (2 triangles), with the specified color.

DrawRectangleFilled
void DrawRectangleFilled(Rectangle rect, Color color)

Draws a filled rectangle, with the specified color.

PrepDebugging
void PrepDebugging()

Prepares GlDebugging2D for rendering (backend, you don't need to run this yourself.)

ResetCamera
void ResetCamera()

Resets the matrix for the debugging primitives.

SetCamera
void SetCamera(Camera2D cam)

Sets the matrix for the debugging primitives.

Meta