SuperDex Physics C++ API
Loading...
Searching...
No Matches
superdex::DebugDrawLineVertices Struct Reference

Line primitives for debug visualization. More...

#include <mochi_structs.h>

Public Member Functions

bool operator== (DebugDrawLineVertices const &) const =default

Public Attributes

Span< Color const > colors
 Line vertex colors.
Span< Real3 const > positions
 Line vertex positions [m] in world frame.

Detailed Description

Line primitives for debug visualization.

Vertices are stored as a line list: every two consecutive vertices form one line segment (positions[0]–positions[1] is the first segment, positions[2]–positions[3] is the second, and so on). The total number of line segments is half the size of positions.

Definition at line 623 of file mochi_structs.h.

Member Function Documentation

◆ operator==()

bool superdex::DebugDrawLineVertices::operator== ( DebugDrawLineVertices const & ) const
default

Member Data Documentation

◆ colors

Span<Color const> superdex::DebugDrawLineVertices::colors

Line vertex colors.

Definition at line 626 of file mochi_structs.h.

◆ positions

Span<Real3 const> superdex::DebugDrawLineVertices::positions

Line vertex positions [m] in world frame.

Definition at line 624 of file mochi_structs.h.


The documentation for this struct was generated from the following files: