Expand description
Common utilities used by all APIs.
Modules§
- color_
map - Google’s Turbo color map adapted from here.
- touch_
detector - A simple touch detector based on depth data.
Structs§
- Counter
- A counter to be used in the main loop to get fps and frame count info. The
print_fps_frame_count_info()
function will be called everyinfo_interval
th loop. - Keyboard
Event - Simple keybord event handler.
Functions§
- new_
fixed_ vec - Creates a new vector of length
size
with capacity set tosize
and initializes it withinit
. - normalize_
u16_ to_ u8 - normalize
[u16]
vector to[u8]
givenmin
andmax
value.