summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2021-05-20 22:09:12 +0200
committerAki <please@ignore.pl>2021-05-20 22:09:12 +0200
commitb77a4239dd86bd8595cff94870f89607d1a5e403 (patch)
tree96a0520456894e7589f9e7c9a84a21f9ec309447
parent813d2e87c44c049cd5f099eacfc73256d555efae (diff)
downloadderelict-prototype-b77a4239dd86bd8595cff94870f89607d1a5e403.zip
derelict-prototype-b77a4239dd86bd8595cff94870f89607d1a5e403.tar.gz
derelict-prototype-b77a4239dd86bd8595cff94870f89607d1a5e403.tar.bz2
Removed icon loading function
-rw-r--r--derelict.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/derelict.js b/derelict.js
index 1a66f91..59bea14 100644
--- a/derelict.js
+++ b/derelict.js
@@ -121,16 +121,6 @@ class Wreck {
}
}
-function loadWreckIcon() {
- return fetch("/wreck.svg")
- .then(response => response.text())
- .then(text => {
- const parser = new window.DOMParser()
- const svg = parser.parseFromString(text, "image/svg+xml")
- return svg.documentElement
- })
-}
-
function vec3FromXYZ({x, y, z}) {
return new THREE.Vector3(x, y, z)
}