This commit is contained in:
2024-06-18 16:27:33 +02:00
parent e1c89f8982
commit ed1f331a85
3 changed files with 61 additions and 0 deletions

29
beppe_online/Cargo.toml Normal file
View File

@@ -0,0 +1,29 @@
[package]
name = "beppe_online"
version = "0.1.0"
edition = "2021"
authors = ["Beppe Vanrolleghem beppe.vanrolleghem@gmail.com"]
description = "Testing out wasm"
[lib]
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2"
js-sys = "0.3"
[dependencies.web-sys]
version = "0.3"
features = [
'Document',
'Window',
'HtmlCanvasElement',
'WebGlRenderingContext',
'WebGl2RenderingContext',
'WebGlProgram',
'WebGlShader',
'WebGlBuffer',
'WebGlUniformLocation'
]