From f1576953dd33b38f4e3a1d190cf03c9c8442a1fe Mon Sep 17 00:00:00 2001 From: sebcrozet Date: Tue, 27 Aug 2019 22:41:09 +0200 Subject: [PATCH] nalgebra-glm: reexport infinite and reversed perspectives. --- nalgebra-glm/src/ext/mod.rs | 4 ++++ nalgebra-glm/src/lib.rs | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/nalgebra-glm/src/ext/mod.rs b/nalgebra-glm/src/ext/mod.rs index 0f9879ef..52aa9dc3 100644 --- a/nalgebra-glm/src/ext/mod.rs +++ b/nalgebra-glm/src/ext/mod.rs @@ -10,6 +10,10 @@ pub use self::matrix_clip_space::{ perspective_fov, perspective_fov_lh,perspective_fov_lh_no, perspective_fov_lh_zo, perspective_fov_no, perspective_fov_rh, perspective_fov_rh_no, perspective_fov_rh_zo, perspective_fov_zo, + + infinite_perspective_rh_no, infinite_perspective_rh_zo, + + reversed_perspective_rh_zo, reversed_infinite_perspective_rh_zo, }; pub use self::matrix_projection::{ pick_matrix, project, project_no, project_zo, unproject, unproject_no, unproject_zo, diff --git a/nalgebra-glm/src/lib.rs b/nalgebra-glm/src/lib.rs index 1414bf6a..c8f266a4 100644 --- a/nalgebra-glm/src/lib.rs +++ b/nalgebra-glm/src/lib.rs @@ -155,7 +155,8 @@ pub use ext::{ quat_equal, quat_equal_eps, quat_exp, quat_inverse, quat_length, quat_lerp, quat_log, quat_magnitude, quat_normalize, quat_not_equal, quat_not_equal_eps, quat_pow, quat_rotate, quat_slerp, rotate, rotate_x, rotate_y, rotate_z, scale, translate, unproject, unproject_no, - unproject_zo, + unproject_zo, infinite_perspective_rh_no, infinite_perspective_rh_zo, + reversed_perspective_rh_zo, reversed_infinite_perspective_rh_zo, }; pub use gtc::{ affine_inverse, column, e, euler, four_over_pi, golden_ratio, half_pi, inverse_transpose,