mirror of
https://github.com/Rezmason/matrix.git
synced 2026-04-21 23:39:29 -07:00
Code intended to leverage imports in the load functions.
This commit is contained in:
@@ -59,7 +59,7 @@ export const init = async (canvas) => {
|
||||
];
|
||||
|
||||
const regl = createREGL({ canvas, pixelRatio: 1, extensions, optionalExtensions });
|
||||
const cache = new Map();
|
||||
const cache = new Map(inclusions);
|
||||
const rain = { canvas, resize, doubleClick, cache, regl, resolution: 1 };
|
||||
|
||||
window.addEventListener("dblclick", doubleClick);
|
||||
|
||||
Reference in New Issue
Block a user