MCPcopy Create free account
hub / github.com/HailToDodongo/pyrite64 / drawLine

Method drawLine

n64/engine/src/debug/debugDraw.cpp:94–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94void P64::Debug::drawLine(const fm_vec3_t &a, const fm_vec3_t &b, color_t color) {
95 if(lines.size() > MAX_LINE_COUNT)return;
96 lines.push_back({a, b, color_to_packed16(color), 0});
97}
98
99color_t P64::Debug::paletteColor(uint32_t index) {
100 static constexpr color_t PALETTE[] = {

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected