You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: glm/ext/matrix_clip_space.hpp
+54Lines changed: 54 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -461,6 +461,56 @@ namespace glm
461
461
T fov, T width, T height, T near, T far);
462
462
463
463
/// Creates a matrix for a left-handed, symmetric perspective-view frustum with far plane at infinite.
464
+
/// The near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition)
465
+
///
466
+
/// @param fovy Specifies the field of view angle, in degrees, in the y direction. Expressed in radians.
467
+
/// @param aspect Specifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height).
468
+
/// @param near Specifies the distance from the viewer to the near clipping plane (always positive).
/// Creates a matrix for a left-handed, symmetric perspective-view frustum with far plane at infinite.
476
+
/// The near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition)
477
+
///
478
+
/// @param fovy Specifies the field of view angle, in degrees, in the y direction. Expressed in radians.
479
+
/// @param aspect Specifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height).
480
+
/// @param near Specifies the distance from the viewer to the near clipping plane (always positive).
/// Creates a matrix for a right-handed, symmetric perspective-view frustum with far plane at infinite.
488
+
/// The near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition)
489
+
///
490
+
/// @param fovy Specifies the field of view angle, in degrees, in the y direction. Expressed in radians.
491
+
/// @param aspect Specifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height).
492
+
/// @param near Specifies the distance from the viewer to the near clipping plane (always positive).
/// Creates a matrix for a right-handed, symmetric perspective-view frustum with far plane at infinite.
500
+
/// The near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition)
501
+
///
502
+
/// @param fovy Specifies the field of view angle, in degrees, in the y direction. Expressed in radians.
503
+
/// @param aspect Specifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height).
504
+
/// @param near Specifies the distance from the viewer to the near clipping plane (always positive).
/// Creates a matrix for a left-handed, symmetric perspective-view frustum with far plane at infinite.
512
+
/// If GLM_FORCE_DEPTH_ZERO_TO_ONE is defined, the near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition)
513
+
/// Otherwise, the near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition)
464
514
///
465
515
/// @param fovy Specifies the field of view angle, in degrees, in the y direction. Expressed in radians.
466
516
/// @param aspect Specifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height).
@@ -472,6 +522,8 @@ namespace glm
472
522
T fovy, T aspect, T near);
473
523
474
524
/// Creates a matrix for a right-handed, symmetric perspective-view frustum with far plane at infinite.
525
+
/// If GLM_FORCE_DEPTH_ZERO_TO_ONE is defined, the near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition)
526
+
/// Otherwise, the near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition)
475
527
///
476
528
/// @param fovy Specifies the field of view angle, in degrees, in the y direction. Expressed in radians.
477
529
/// @param aspect Specifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height).
@@ -483,6 +535,8 @@ namespace glm
483
535
T fovy, T aspect, T near);
484
536
485
537
/// Creates a matrix for a symmetric perspective-view frustum with far plane at infinite with default handedness.
538
+
/// If GLM_FORCE_DEPTH_ZERO_TO_ONE is defined, the near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition)
539
+
/// Otherwise, the near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition)
486
540
///
487
541
/// @param fovy Specifies the field of view angle, in degrees, in the y direction. Expressed in radians.
488
542
/// @param aspect Specifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height).
0 commit comments