Skip to content

Commit ea18ffd

Browse files
authored
WebGL moon rendering (#29)
* New WebGL 3D moon rendering, with libration and improved lunar eclipse effects. * Browser compatibility check. * Swapped 1° moon/sun views with 2° views. * First rough adaption of old geographic DB code to new gazetteer tables, and first migration of API into common project structure with UI code (not yet meant for release).
1 parent b40968f commit ea18ffd

48 files changed

Lines changed: 13818 additions & 773 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintrc.json

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"env": {
3-
"es2017": true,
3+
"es2020": true,
44
"mocha": true,
55
"node": true
66
},
@@ -14,7 +14,7 @@
1414
},
1515
"parser": "@typescript-eslint/parser",
1616
"parserOptions": {
17-
"ecmaVersion": 2018,
17+
"ecmaVersion": 2020,
1818
"sourceType": "module"
1919
},
2020
"plugins": [
@@ -124,9 +124,27 @@
124124
},
125125
"overrides": [
126126
{
127-
"files": ["*.js", "*.cjs"],
127+
"files": ["*.js", "*.cjs", "*.html"],
128+
"parser": "espree",
129+
"parserOptions": {
130+
"ecmaVersion": 2018,
131+
"sourceType": "module"
132+
},
128133
"rules": {
129-
"@typescript-eslint/explicit-function-return-type": "off"
134+
"@typescript-eslint/explicit-function-return-type": "off",
135+
"indent": [
136+
"error",
137+
2,
138+
{
139+
"ArrayExpression": "first",
140+
"FunctionDeclaration": { "parameters": "off" },
141+
"FunctionExpression": { "parameters": "off" },
142+
"ignoreComments": true,
143+
"ObjectExpression": "first",
144+
"SwitchCase": 1
145+
}
146+
],
147+
"no-var": "off"
130148
}
131149
}
132150
]

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,6 @@ testem.log
4242
# System Files
4343
.DS_Store
4444
Thumbs.db
45+
/server/node_modules/
46+
/server/logs/
47+
/server/build/

angular.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@
2323
"glob": "**/*",
2424
"input": "node_modules/@tubular/astronomy/dist/resources",
2525
"output": "/assets/resources"
26+
},
27+
{
28+
"glob": "browser-check.min.js*",
29+
"input": "./node_modules/@tubular/browser-check/dist/",
30+
"output": "./assets/"
2631
}
2732
],
2833
"styles": [
@@ -115,6 +120,11 @@
115120
"glob": "**/*",
116121
"input": "node_modules/@tubular/astronomy/dist/resources",
117122
"output": "/assets/resources"
123+
},
124+
{
125+
"glob": "browser-check.min.js*",
126+
"input": "./node_modules/@tubular/browser-check/dist/",
127+
"output": "./assets/"
118128
}
119129
]
120130
}

0 commit comments

Comments
 (0)