mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-30 21:21:10 +00:00 
			
		
		
		
	Remove incorrect & potentially confusing references to Euler
e is referred to as Euler’s number, so technically the MATH_EXP description in VisualScript doc was not incorrect, though could potentially lead to confusion.
e is different from Euler’s constant however, making the existing GDScript exp & VisualScriptMathConstant descriptions nvalid.
(cherry picked from commit b6b8c7b215)
			
			
This commit is contained in:
		
							parent
							
								
									d89015cfe3
								
							
						
					
					
						commit
						d49fc76ab8
					
				
					 3 changed files with 5 additions and 4 deletions
				
			
		|  | @ -4,7 +4,7 @@ | |||
| 		Commonly used mathematical constants. | ||||
| 	</brief_description> | ||||
| 	<description> | ||||
| 		Provides common math constants, such as Pi or Euler's constant, on an output Data port. | ||||
| 		Provides common math constants, such as Pi, on an output Data port. | ||||
| 		[b]Input Ports:[/b] | ||||
| 		none | ||||
| 		[b]Output Ports:[/b] | ||||
|  | @ -35,7 +35,7 @@ | |||
| 			Tau: [code]6.283185[/code] | ||||
| 		</constant> | ||||
| 		<constant name="MATH_CONSTANT_E" value="4" enum="MathConstant"> | ||||
| 			Natural log: [code]2.718282[/code] | ||||
| 			Mathematical constant [code]e[/code], the natural log base: [code]2.718282[/code] | ||||
| 		</constant> | ||||
| 		<constant name="MATH_CONSTANT_SQRT2" value="5" enum="MathConstant"> | ||||
| 			Square root of two: [code]1.414214[/code] | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Will Vincent
						Will Vincent