| 92 | } |
| 93 | |
| 94 | void 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 | |
| 99 | color_t P64::Debug::paletteColor(uint32_t index) { |
| 100 | static constexpr color_t PALETTE[] = { |