Added init struct (resource loading helpers)

This commit is contained in:
2020-04-21 19:04:08 +02:00
parent 7165f9ee89
commit a519a9696c
13 changed files with 81 additions and 14 deletions

2
sunpy/orep/__init__.js Normal file
View File

@@ -0,0 +1,2 @@
// Map
import "./orep.js";

View File

@@ -1,13 +1,3 @@
import { RenderNode } from "../canvas/renderer.js";
/*
var onloadOld = onload || (() => {});
onload = () => {
onloadOld();
init();
}
function init() {
}
*/
import { compile } from "../canvas/gl/texture.js";
window.compile = compile;