Skip to content

Commit

Permalink
Add over instancing example
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenhuyn committed Apr 29, 2023
1 parent d3bd9e7 commit b35998f
Show file tree
Hide file tree
Showing 11 changed files with 551 additions and 55 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dist-ssr
*.local

# Editor directories and files
.vscode/*
# .vscode/*
!.vscode/extensions.json
.idea
.DS_Store
Expand Down
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"rust-analyzer.cargo.target": "wasm32-unknown-unknown"
}
1 change: 1 addition & 0 deletions app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions cubeway/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,15 @@ path = "src/main.rs"
[dependencies]
wasm-bindgen = "0.2"
winit = "0.28"
cgmath = "0.18"
env_logger = "0.10"
log = "0.4"
wgpu = "0.16"
cfg-if = "1"
pollster = "0.3"
bytemuck = { version = "1.12", features = [ "derive" ] }
image = "0.24"
anyhow = "1.0"

[target.'cfg(target_arch = "wasm32")'.dependencies]
console_error_panic_hook = "0.1.6"
Expand All @@ -35,6 +38,7 @@ web-sys = { version = "0.3", features = [
"Element",
]}

[build-dependencies]

[profile.release]
lto = true
Expand Down
Binary file added cubeway/src/happy-tree.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit b35998f

Please sign in to comment.