Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Monado
Monado
Commits
65cc62da
Commit
65cc62da
authored
Sep 17, 2019
by
Ryan Pavlik
Committed by
Jakob Bornecrantz
Sep 20, 2019
Browse files
aux/util: Add quat support to variable tracker
parent
f10eaafc
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/xrt/auxiliary/util/u_var.cpp
View file @
65cc62da
...
...
@@ -205,6 +205,7 @@ ADD_FUNC(ro_i32, int32_t, RO_I32);
ADD_FUNC
(
ro_f32
,
float
,
RO_F32
);
ADD_FUNC
(
ro_vec3_i32
,
struct
xrt_vec3_i32
,
RO_VEC3_I32
);
ADD_FUNC
(
ro_vec3_f32
,
struct
xrt_vec3
,
RO_VEC3_F32
);
ADD_FUNC
(
ro_quat_f32
,
struct
xrt_quat
,
RO_QUAT_F32
);
ADD_FUNC
(
gui_header
,
bool
,
GUI_HEADER
);
#undef ADD_FUNC
src/xrt/auxiliary/util/u_var.h
View file @
65cc62da
...
...
@@ -40,6 +40,7 @@ enum u_var_kind
U_VAR_KIND_RO_F32
,
U_VAR_KIND_RO_VEC3_I32
,
U_VAR_KIND_RO_VEC3_F32
,
U_VAR_KIND_RO_QUAT_F32
,
U_VAR_KIND_GUI_HEADER
,
};
...
...
@@ -118,6 +119,7 @@ ADD_FUNC(ro_i32, int32_t, RO_I32);
ADD_FUNC
(
ro_f32
,
float
,
RO_F32
);
ADD_FUNC
(
ro_vec3_i32
,
struct
xrt_vec3_i32
,
RO_VEC3_I32
);
ADD_FUNC
(
ro_vec3_f32
,
struct
xrt_vec3
,
RO_VEC3_F32
);
ADD_FUNC
(
ro_quat_f32
,
struct
xrt_quat
,
RO_QUAT_F32
);
ADD_FUNC
(
gui_header
,
bool
,
GUI_HEADER
);
#undef ADD_FUNC
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment