The open source OpenXR runtime
0
fork

Configure Feed

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

a/math: Add m_vec3_inverse()

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2188>

authored by

Jan Schmidt and committed by
Marge Bot
1bfd5ed0 ab5b21de

+7
+7
src/xrt/auxiliary/math/m_vec3.h
··· 67 67 return ret; 68 68 } 69 69 70 + static inline struct xrt_vec3 71 + m_vec3_inverse(struct xrt_vec3 v) 72 + { 73 + struct xrt_vec3 ret = {-v.x, -v.y, -v.z}; 74 + return ret; 75 + } 76 + 70 77 static inline float 71 78 m_vec3_dot(struct xrt_vec3 l, struct xrt_vec3 r) 72 79 {