summaryrefslogtreecommitdiffhomepage
path: root/derelict.js
diff options
context:
space:
mode:
Diffstat (limited to 'derelict.js')
-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)
}