add constant Ox.EARTH_SURFACE
This commit is contained in:
parent
a01ab0ab58
commit
d16f76f0da
1 changed files with 3 additions and 1 deletions
|
@ -14,7 +14,9 @@ Ox.EARTH_RADIUS <n> Radius of the earth in meters
|
||||||
*/
|
*/
|
||||||
Ox.EARTH_RADIUS = 6378137;
|
Ox.EARTH_RADIUS = 6378137;
|
||||||
//@ Ox.EARTH_CIRCUMFERENCE <n> Circumference of the earth in meters
|
//@ Ox.EARTH_CIRCUMFERENCE <n> Circumference of the earth in meters
|
||||||
Ox.EARTH_CIRCUMFERENCE = Ox.EARTH_RADIUS * 2 * Math.PI;
|
Ox.EARTH_CIRCUMFERENCE = 2 * Math.PI * Ox.EARTH_RADIUS;
|
||||||
|
//@ Ox.EARTH_SURFACE <n> Surface of the earth in square meters
|
||||||
|
Ox.EARTH_SURFACE = 4 * Math.PI * Math.pow(Ox.EARTH_RADIUS, 2);
|
||||||
//@ Ox.HTML_ENTITIES <object> HTML entities for ... (FIXME)
|
//@ Ox.HTML_ENTITIES <object> HTML entities for ... (FIXME)
|
||||||
Ox.HTML_ENTITIES = {
|
Ox.HTML_ENTITIES = {
|
||||||
'"': '"', '&': '&', "'": ''', '<': '<', '>': '>'
|
'"': '"', '&': '&', "'": ''', '<': '<', '>': '>'
|
||||||
|
|
Loading…
Reference in a new issue