RMGui 0.15.0
C11 retained-mode UI library: layout kernel, style schema, widget painters, fonts, software framebuffer
Loading...
Searching...
No Matches
rmgui_motion_map_t Struct Reference

A scalar map: input / divisor is Q16 progress, truncated toward zero before mixing the endpoints. More...

#include <motion.h>

Data Fields

int32_t from
int32_t to
uint16_t divisor

Detailed Description

A scalar map: input / divisor is Q16 progress, truncated toward zero before mixing the endpoints.

A positive divisor preserves spring units.

Field Documentation

◆ from

int32_t rmgui_motion_map_t::from

◆ to

int32_t rmgui_motion_map_t::to

◆ divisor

uint16_t rmgui_motion_map_t::divisor

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