Quellcode durchsuchen

Fixed perspective fovy argument documentation #327

Christophe Riccio vor 10 Jahren
Ursprung
Commit
ea36f44294
2 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 1 1
      glm/gtc/matrix_transform.hpp
  2. 1 0
      readme.md

+ 1 - 1
glm/gtc/matrix_transform.hpp

@@ -173,7 +173,7 @@ namespace glm
 
 
 	/// Creates a matrix for a symetric perspective-view frustum based on the default handedness.
 	/// Creates a matrix for a symetric perspective-view frustum based on the default handedness.
 	/// 
 	/// 
-	/// @param fovy Specifies the field of view angle, in degrees, in the y direction. Expressed in radians.
+	/// @param fovy Specifies the field of view angle in the y direction. Expressed in radians.
 	/// @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).
 	/// @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).
 	/// @param near Specifies the distance from the viewer to the near clipping plane (always positive).
 	/// @param near Specifies the distance from the viewer to the near clipping plane (always positive).
 	/// @param far Specifies the distance from the viewer to the far clipping plane (always positive).
 	/// @param far Specifies the distance from the viewer to the far clipping plane (always positive).

+ 1 - 0
readme.md

@@ -68,6 +68,7 @@ glm::mat4 camera(float Translate, glm::vec2 const & Rotate)
 - Fixed (u)int64 MSB/LSB handling on BE archs #306
 - Fixed (u)int64 MSB/LSB handling on BE archs #306
 - Fixed multi-line comment warning in g++. #315
 - Fixed multi-line comment warning in g++. #315
 - Fixed specifier removal by 'std::make_pair<>' #333
 - Fixed specifier removal by 'std::make_pair<>' #333
+- Fixed perspective fovy argument documentation #327
 
 
 ##### Deprecation:
 ##### Deprecation:
 - Removed integer specification for 'mod' in GTC_integer #308
 - Removed integer specification for 'mod' in GTC_integer #308