Skip to content

[WIP] Added more constants

Added more constants

Used JS as reference of missing mathematical constants.

Added constants are: E, LN2, LN10, LOG2E, LOG10E, SQRT12, SQRT2

Why?

These constants will be useful for wide range of computations. Also I noticed that some constants are defined but not accessible from GDScript (this makes them all accessible).

I don't expect this to be in 3.2 as all new feature additions are frozen. Let this be part of 4.0.

Merge request reports