This commit is contained in:
2024-06-18 22:15:07 +02:00
parent 420d3366d1
commit 34dff8b51d
5 changed files with 136 additions and 82 deletions

View File

@@ -13,17 +13,15 @@ crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2"
js-sys = "0.3"
yew = { git = "https://github.com/yewstack/yew/", features = ["csr"] }
[dependencies.web-sys]
version = "0.3"
features = [
'Document',
'Window',
'HtmlCanvasElement',
'WebGlRenderingContext',
'WebGl2RenderingContext',
'WebGlProgram',
'WebGlShader',
'WebGlBuffer',
'WebGlUniformLocation'
'WebGlProgram',
'WebGlRenderingContext',
'WebGlShader',
'WebGlUniformLocation',
]