diff --git a/nalgebra-glm/Cargo.toml b/nalgebra-glm/Cargo.toml index 40e62e4a..bb54e205 100644 --- a/nalgebra-glm/Cargo.toml +++ b/nalgebra-glm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nalgebra-glm" -version = "0.4.1" +version = "0.4.2" authors = ["sebcrozet "] description = "A computer-graphics oriented API for nalgebra, inspired by the C++ GLM library." 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,