The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

d/ns: Allow for freeing the 3D optical system

authored by

Moses Turner and committed by
Jakob Bornecrantz
956ee5ae ab513828

+8
+8
src/xrt/drivers/north_star/distortion_3d/deformation_northstar.cpp
··· 268 268 } 269 269 270 270 extern "C" void 271 + ns_3d_free_optical_system(struct ns_optical_system **system) 272 + { 273 + OpticalSystem *cast_sys = (OpticalSystem *)*system; 274 + delete cast_sys; 275 + *system = NULL; 276 + } 277 + 278 + extern "C" void 271 279 ns_3d_display_uv_to_render_uv(struct xrt_vec2 in, struct xrt_vec2 *out, struct ns_3d_eye *eye) 272 280 { 273 281 OpticalSystem *opticalSystem = (OpticalSystem *)eye->optical_system;