Skip to content

Commit

Permalink
Added vertex and index buffers
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasJowett committed Feb 24, 2024
1 parent 0397e22 commit 0c6982a
Show file tree
Hide file tree
Showing 9 changed files with 123 additions and 368 deletions.
15 changes: 15 additions & 0 deletions Cargo.lock

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

15 changes: 9 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ name = "halvar"
version = "0.1.0"
edition = "2021"
authors = ["Thomas Jowett <https://github.com/ThomasJowett"]
description = "A 3D Renderer"

[package.metadata.bundle]
name = "Halvar"
identifier = "com.ThomasJowett.halvar"
# icon = "path/to/icon.icns"

[lib]
crate-type = ["cdylib", "rlib"]
Expand All @@ -15,15 +21,12 @@ env_logger = "0.10"
log = "0.4"
wgpu = "0.18"
pollster = "0.3"
bytemuck = { version = "1.12", features = ["derive"] }

[target.'cfg(target_arch = "wasm32")'.dependencies]
console_error_panic_hook = "0.1.6"
console_log = "1.0"
wgpu = {version = "0.18", features = ["webgl"]}
wgpu = { version = "0.18", features = ["webgl"] }
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4.30"
web-sys = { version = "0.3", features = [
"Document",
"Window",
"Element",
]}
web-sys = { version = "0.3", features = ["Document", "Window", "Element"] }
7 changes: 0 additions & 7 deletions shaders/standard.frag

This file was deleted.

7 changes: 0 additions & 7 deletions shaders/standard.vert

This file was deleted.

300 changes: 0 additions & 300 deletions src/application.rs_old

This file was deleted.

Loading

0 comments on commit 0c6982a

Please sign in to comment.