WIP: World rewrite #2

Draft
Jayrude wants to merge 5 commits from world-rewrite into main
2 changed files with 49 additions and 0 deletions
Showing only changes of commit 74f1273982 - Show all commits

48
Cargo.lock generated
View File

@ -829,6 +829,16 @@ dependencies = [
"libc", "libc",
] ]
[[package]]
name = "matrixmultiply"
version = "0.3.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7574c1cf36da4798ab73da5b215bbf444f50718207754cb522201d78d1cd0ff2"
dependencies = [
"autocfg",
"rawpointer",
]
[[package]] [[package]]
name = "memchr" name = "memchr"
version = "2.7.1" version = "2.7.1"
@ -879,6 +889,19 @@ dependencies = [
"unicode-xid", "unicode-xid",
] ]
[[package]]
name = "ndarray"
version = "0.15.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "adb12d4e967ec485a5f71c6311fe28158e9d6f4bc4a447b474184d0f91a8fa32"
dependencies = [
"matrixmultiply",
"num-complex",
"num-integer",
"num-traits",
"rawpointer",
]
[[package]] [[package]]
name = "ndk" name = "ndk"
version = "0.8.0" version = "0.8.0"
@ -909,6 +932,24 @@ dependencies = [
"jni-sys", "jni-sys",
] ]
[[package]]
name = "num-complex"
version = "0.4.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "23c6602fda94a57c990fe0df199a035d83576b496aa29f4e634a8ac6004e68a6"
dependencies = [
"num-traits",
]
[[package]]
name = "num-integer"
version = "0.1.46"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f"
dependencies = [
"num-traits",
]
[[package]] [[package]]
name = "num-traits" name = "num-traits"
version = "0.2.18" version = "0.2.18"
@ -1156,6 +1197,12 @@ version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "42a9830a0e1b9fb145ebb365b8bc4ccd75f290f98c0247deafbbe2c75cefb544" checksum = "42a9830a0e1b9fb145ebb365b8bc4ccd75f290f98c0247deafbbe2c75cefb544"
[[package]]
name = "rawpointer"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3"
[[package]] [[package]]
name = "redox_syscall" name = "redox_syscall"
version = "0.3.5" version = "0.3.5"
@ -1540,6 +1587,7 @@ dependencies = [
"env_logger", "env_logger",
"glam", "glam",
"log", "log",
"ndarray",
"pollster", "pollster",
"simdnoise", "simdnoise",
"wgpu", "wgpu",

View File

@ -11,6 +11,7 @@ bytemuck = { version = "1.15.0", features = ["derive"] }
env_logger = "0.11.3" env_logger = "0.11.3"
glam = "0.26.0" glam = "0.26.0"
log = "0.4.21" log = "0.4.21"
ndarray = "0.15.6"
pollster = "0.3.0" pollster = "0.3.0"
simdnoise = "3.1.6" simdnoise = "3.1.6"
wgpu = "0.19.3" wgpu = "0.19.3"