cleaned up new() function

This commit is contained in:
Piotrek
2021-04-12 22:00:24 +02:00
parent a5a82e5b46
commit a661783e7a
3 changed files with 110 additions and 91 deletions
Generated
+20
View File
@@ -43,6 +43,15 @@ version = "1.0.40"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "28b2cd92db5cbd74e8e5028f7e27dd7aa3090e89e4f2a197cc7c8dfb69c7063b"
[[package]]
name = "approx"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3f2a05fd1bd10b2527e20a2cd32d8873d115b8b39fe219ee25f42a8aca6ba278"
dependencies = [
"num-traits",
]
[[package]]
name = "arrayvec"
version = "0.5.2"
@@ -160,6 +169,16 @@ version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e"
[[package]]
name = "cgmath"
version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1a98d30140e3296250832bbaaff83b27dcd6fa3cc70fb6f1f3e5c9c0023b5317"
dependencies = [
"approx",
"num-traits",
]
[[package]]
name = "cmake"
version = "0.1.45"
@@ -1963,6 +1982,7 @@ version = "0.1.0"
dependencies = [
"anyhow",
"bytemuck",
"cgmath",
"fs_extra",
"futures",
"glob",