[vlc-devel] [PATCH 1/3] core: add a variable type for 3D angles
Rémi Denis-Courmont
remi at remlab.net
Mon Feb 27 18:13:24 CET 2017
Le maanantaina 27. helmikuuta 2017, 17.35.27 EET Steve Lhomme a écrit :
> yaw, pitch, roll
> ---
> include/vlc_common.h | 1 +
> include/vlc_variables.h | 28 ++++++++++++++++++++++++++++
> src/misc/variables.c | 11 ++++++++++-
> 3 files changed, 39 insertions(+), 1 deletion(-)
This is really three floating point values. If you care about atomicity, you
really shouldn´t be using variables in any case given the design limitations
in event handling. If you don´t, then you can use three variables.
And generally, please no more VLC variable base types. We need to draw a line
somewhere.
--
雷米‧德尼-库尔蒙
https://www.remlab.net/
More information about the vlc-devel
mailing list