mirror of
				https://bitbucket.org/mfeemster/fractorium.git
				synced 2025-10-31 01:10:24 -04:00 
			
		
		
		
	-tan(float) was crashing under VS2013 with large numbers so replace with SafeTan<T>().
-Put about dialog in the center of the screen. A Qt upgrade somehow moved it to the side.
This commit is contained in:
		| @ -5469,7 +5469,7 @@ public: | ||||
|  | ||||
| 	virtual void Func(IteratorHelper<T>& helper, Point<T>& outPoint, QTIsaac<ISAAC_SIZE, ISAAC_INT>& rand) override | ||||
| 	{ | ||||
| 		helper.Out.x = m_Weight01 / tan(helper.In.x) * cos(helper.In.y); | ||||
| 		helper.Out.x = m_Weight01 / SafeTan<T>(helper.In.x) * cos(helper.In.y); | ||||
| 		helper.Out.y = m_Weight01 / sin(helper.In.x) * (-helper.In.y); | ||||
| 		helper.Out.z = m_Weight * helper.In.z; | ||||
| 	} | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 mfeemster
					mfeemster