mirror of
				https://bitbucket.org/mfeemster/fractorium.git
				synced 2025-10-30 17:00:24 -04:00 
			
		
		
		
	 c4e891b18c
			
		
	
	c4e891b18c
	
	
	
		
			
			--User changes -dark.qss is now per-OS. -Properly set/reload palette when coming from the palette editor. The latter must be done if they've modified the current palette even if they've clicked cancel. --Bug fixes -Make the following variations safer by using Zeps(): conic, bipolar, edisc, whorl, tan, csc, cot, tanh, sech, csch, coth, auger, bwraps, hypertile3d, hypertile3d1, ortho, poincare, rational3, barycentroid, sschecks, cscq, cschq, scry_3D, splitbrdr, hexcrop, nblur, crob. -Fix bug enabling/disabling overwrite button in palette editor. -Small optimization for gdoffs, use precalcAtanYX. -Properly propagate z through circlesplit, cylinder2 and tile_log variations. -Some values in truchet_fill could've been NaN. --Code changes -Make most installation files read only. -Qualify many calls with std:: to ensure they're not colliding with glm:: -Use auto in more places.
		
			
				
	
	
		
			22 lines
		
	
	
		
			560 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			560 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #pragma once
 | |
| 
 | |
| #include "EmberCLPch.h"
 | |
| 
 | |
| namespace EmberCLns
 | |
| {
 | |
| /// <summary>
 | |
| /// Functionality to map OpenCL function names to their full function body program strings.
 | |
| /// This is used to ensure only the functions that are needed by a program are included once
 | |
| /// in the program string.
 | |
| /// </summary>
 | |
| class EMBERCL_API FunctionMapper
 | |
| {
 | |
| public:
 | |
| 	FunctionMapper();
 | |
| 	static const string* GetGlobalFunc(const string& func);
 | |
| 	static const std::unordered_map<string, string> GetGlobalMapCopy();
 | |
| 
 | |
| private:
 | |
| 	static std::unordered_map<string, string> s_GlobalMap;
 | |
| };
 | |
| } |