mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 21:51:22 +00:00 
			
		
		
		
	msdfgen: Sync with upstream 1.10
This commit is contained in:
		
							parent
							
								
									ea6a141fff
								
							
						
					
					
						commit
						3c25dfe0e4
					
				
					 10 changed files with 22 additions and 103 deletions
				
			
		
							
								
								
									
										5
									
								
								thirdparty/msdfgen/core/SignedDistance.cpp
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								thirdparty/msdfgen/core/SignedDistance.cpp
									
										
									
									
										vendored
									
									
								
							|  | @ -2,12 +2,11 @@ | |||
| #include "SignedDistance.h" | ||||
| 
 | ||||
| #include <cmath> | ||||
| #include <cfloat> | ||||
| 
 | ||||
| namespace msdfgen { | ||||
| 
 | ||||
| const SignedDistance SignedDistance::INFINITE(-1e240, 1); | ||||
| 
 | ||||
| SignedDistance::SignedDistance() : distance(-1e240), dot(1) { } | ||||
| SignedDistance::SignedDistance() : distance(-DBL_MAX), dot(1) { } | ||||
| 
 | ||||
| SignedDistance::SignedDistance(double dist, double d) : distance(dist), dot(d) { } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Rémi Verschelde
						Rémi Verschelde