Files
kinect/core/synth/synth.cpp
T
kinect-botandsisyphus-dev-ai b38c7bcd82
ci / Linux C++ core (cmake + ctest) (push) Canceled after 0s
ci / Python tracker (pytest) (push) Canceled after 0s
chore(scaffold): project layout, cross-platform build, CI
Co-authored-by: sisyphus-dev-ai <sisyphus-dev-ai@users.noreply.github.com>
2026-11-25 03:23:45 -05:00

10 lines
226 B
C++

#include "synth/synth.h"
namespace nui::synth {
uint16_t pack_depth(uint16_t depth_mm, uint8_t player_index) {
return static_cast<uint16_t>(((depth_mm & 0x1FFF) << 3) | (player_index & 0x7));
}
} // namespace nui::synth