Fixed float comparison warnings #270
This commit is contained in:
		
							parent
							
								
									3adf263341
								
							
						
					
					
						commit
						5b911d1eb0
					
				| @ -213,8 +213,8 @@ namespace glm | |||||||
| 		T zFar | 		T zFar | ||||||
| 	) | 	) | ||||||
| 	{ | 	{ | ||||||
| 		assert(aspect != static_cast<T>(0)); | 		assert(abs(aspect - std::numeric_limits<T>::epsilon()) > static_cast<T>(0)); | ||||||
| 		assert(zFar != zNear); | 		assert(zFar > zNear); | ||||||
| 
 | 
 | ||||||
| 		T const tanHalfFovy = tan(fovy / static_cast<T>(2)); | 		T const tanHalfFovy = tan(fovy / static_cast<T>(2)); | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Christophe Riccio
						Christophe Riccio