The open source OpenXR runtime
0
fork

Configure Feed

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

c/render: Remove float cast in calc_projection

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

+2 -2
+2 -2
src/xrt/compositor/render/render_util.c
··· 41 41 const double a31 = (tan_right + tan_left) / tan_width; 42 42 const double a32 = (tan_up + tan_down) / tan_height; 43 43 44 - const float a33 = (float)(-far_plane / (far_plane - near_plane)); 45 - const float a43 = (float)(-(far_plane * near_plane) / (far_plane - near_plane)); 44 + const double a33 = -far_plane / (far_plane - near_plane); 45 + const double a43 = -(far_plane * near_plane) / (far_plane - near_plane); 46 46 47 47 48 48 #if 0