DEVELOPMENT ENVIRONMENT

~liljamo/deck-builder

ab7aedfd4da5fc084b1bc2ab50f246ba4d44b594 — Jonni Liljamo 1 year, 7 months ago 7c80303
feat(client): add bevy_text_mesh dep
3 files changed, 254 insertions(+), 32 deletions(-)

M Cargo.lock
M client/Cargo.toml
M client/src/main.rs
M Cargo.lock => Cargo.lock +249 -32
@@ 124,7 124,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7c77a0045eda8b888c76ea473c2b0515ba6f471d318f8927c5c72240937035a6"
dependencies = [
 "android-properties",
 "bitflags",
 "bitflags 1.3.2",
 "cc",
 "jni-sys",
 "libc",


@@ 157,6 157,15 @@ dependencies = [
]

[[package]]
name = "ansi_term"
version = "0.12.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2"
dependencies = [
 "winapi",
]

[[package]]
name = "anyhow"
version = "1.0.70"
source = "registry+https://github.com/rust-lang/crates.io-index"


@@ 266,6 275,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "857253367827bd9d0fd973f0ef15506a96e79e41b0ad7aa691203a4e3214f6c8"

[[package]]
name = "atty"
version = "0.2.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
dependencies = [
 "hermit-abi 0.1.19",
 "libc",
 "winapi",
]

[[package]]
name = "autocfg"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"


@@ 430,7 450,7 @@ dependencies = [
 "bevy_render",
 "bevy_transform",
 "bevy_utils",
 "bitflags",
 "bitflags 1.3.2",
 "radsort",
 "serde",
]


@@ 709,7 729,7 @@ dependencies = [
 "bevy_transform",
 "bevy_utils",
 "bevy_window",
 "bitflags",
 "bitflags 1.3.2",
 "bytemuck",
 "radsort",
]


@@ 727,7 747,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b4bce8074f19467fd55ab172ae6c11fca3ca28f66804590ab10c930bd5e9cd24"
dependencies = [
 "bevy",
 "bitflags",
 "bitflags 1.3.2",
 "log",
 "nalgebra",
 "rapier3d",


@@ 792,7 812,7 @@ dependencies = [
 "bevy_transform",
 "bevy_utils",
 "bevy_window",
 "bitflags",
 "bitflags 1.3.2",
 "codespan-reporting",
 "downcast-rs",
 "encase",


@@ 862,7 882,7 @@ dependencies = [
 "bevy_render",
 "bevy_transform",
 "bevy_utils",
 "bitflags",
 "bitflags 1.3.2",
 "bytemuck",
 "fixedbitset",
 "guillotiere",


@@ 909,6 929,19 @@ dependencies = [
]

[[package]]
name = "bevy_text_mesh"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "417231c3416a9e70b7948c7c28a1e858ae9846e0d6bce412aabc159bb5cb6f2c"
dependencies = [
 "anyhow",
 "bevy",
 "bitflags 2.2.1",
 "glyph_brush_layout",
 "ttf2mesh",
]

[[package]]
name = "bevy_time"
version = "0.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"


@@ 1034,6 1067,29 @@ dependencies = [
]

[[package]]
name = "bindgen"
version = "0.59.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2bd2a9a458e8f4304c52c43ebb0cfbd520289f8379a52e329a38afda99bf8eb8"
dependencies = [
 "bitflags 1.3.2",
 "cexpr",
 "clang-sys",
 "clap",
 "env_logger",
 "lazy_static",
 "lazycell",
 "log",
 "peeking_take_while",
 "proc-macro2",
 "quote",
 "regex",
 "rustc-hash",
 "shlex",
 "which",
]

[[package]]
name = "bit-set"
version = "0.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"


@@ 1055,6 1111,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"

[[package]]
name = "bitflags"
version = "2.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "24a6904aef64d73cf10ab17ebace7befb918b82164785cb89907993be7f83813"

[[package]]
name = "block"
version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"


@@ 1145,6 1207,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c"

[[package]]
name = "cexpr"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766"
dependencies = [
 "nom",
]

[[package]]
name = "cfg-if"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"


@@ 1182,6 1253,32 @@ dependencies = [
]

[[package]]
name = "clang-sys"
version = "1.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c688fc74432808e3eb684cae8830a86be1d66a2bd58e1f248ed0960a590baf6f"
dependencies = [
 "glob",
 "libc",
 "libloading",
]

[[package]]
name = "clap"
version = "2.34.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c"
dependencies = [
 "ansi_term",
 "atty",
 "bitflags 1.3.2",
 "strsim",
 "textwrap",
 "unicode-width",
 "vec_map",
]

[[package]]
name = "clipboard-win"
version = "4.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"


@@ 1271,7 1368,7 @@ version = "0.22.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2581bbab3b8ffc6fcbd550bf46c355135d16e9ff2a6ea032ad6b9bf1d7efe4fb"
dependencies = [
 "bitflags",
 "bitflags 1.3.2",
 "core-foundation",
 "core-graphics-types",
 "foreign-types",


@@ 1284,7 1381,7 @@ version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3a68b68b3446082644c91ac778bf50cd4104bfb002b5a6a7c44cca5a2c70788b"
dependencies = [
 "bitflags",
 "bitflags 1.3.2",
 "core-foundation",
 "foreign-types",
 "libc",


@@ 1416,7 1513,7 @@ version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d8f0de2f5a8e7bd4a9eec0e3c781992a4ce1724f68aec7d7a3715344de8b39da"
dependencies = [
 "bitflags",
 "bitflags 1.3.2",
 "libloading",
 "winapi",
]


@@ 1549,6 1646,19 @@ dependencies = [
]

[[package]]
name = "env_logger"
version = "0.9.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a12e6657c4c97ebab115a42dcee77225f7f482cdd841cf7088c657a42e9e00e7"
dependencies = [
 "atty",
 "humantime",
 "log",
 "regex",
 "termcolor",
]

[[package]]
name = "epaint"
version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"


@@ 1801,6 1911,12 @@ dependencies = [
]

[[package]]
name = "glob"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"

[[package]]
name = "glow"
version = "0.12.1"
source = "registry+https://github.com/rust-lang/crates.io-index"


@@ 1829,7 1945,7 @@ version = "0.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7fc59e5f710e310e76e6707f86c561dd646f69a8876da9131703b2f717de818d"
dependencies = [
 "bitflags",
 "bitflags 1.3.2",
 "gpu-alloc-types",
]



@@ 1839,7 1955,7 @@ version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "54804d0d6bc9d7f26db4eaec1ad10def69b599315f487d32c334a80d1efe67a5"
dependencies = [
 "bitflags",
 "bitflags 1.3.2",
]

[[package]]


@@ 1861,7 1977,7 @@ version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0b0c02e1ba0bdb14e965058ca34e09c020f8e507a760df1121728e0aef68d57a"
dependencies = [
 "bitflags",
 "bitflags 1.3.2",
 "gpu-descriptor-types",
 "hashbrown",
]


@@ 1872,7 1988,7 @@ version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "363e3677e55ad168fef68cf9de3a4a310b53124c5e784c53a1d70e92d23f2126"
dependencies = [
 "bitflags",
 "bitflags 1.3.2",
]

[[package]]


@@ 1920,7 2036,7 @@ version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "90601c6189668c7345fc53842cb3f3a3d872203d523be1b3cb44a36a3e62fb85"
dependencies = [
 "bitflags",
 "bitflags 1.3.2",
 "com-rs",
 "libc",
 "libloading",


@@ 1931,6 2047,15 @@ dependencies = [

[[package]]
name = "hermit-abi"
version = "0.1.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33"
dependencies = [
 "libc",
]

[[package]]
name = "hermit-abi"
version = "0.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ee512640fe35acbfb4bb779db6f0d80704c2cacfa2e39b601ef3e3f47d1ae4c7"


@@ 1995,6 2120,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421"

[[package]]
name = "humantime"
version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"

[[package]]
name = "hyper"
version = "0.14.26"
source = "registry+https://github.com/rust-lang/crates.io-index"


@@ 2190,6 2321,7 @@ dependencies = [
 "bevy_editor_pls",
 "bevy_egui",
 "bevy_rapier3d",
 "bevy_text_mesh",
 "chrono",
 "chrono-humanize",
 "fastrand",


@@ 2207,6 2339,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"

[[package]]
name = "lazycell"
version = "1.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"

[[package]]
name = "libc"
version = "0.2.141"
source = "registry+https://github.com/rust-lang/crates.io-index"


@@ 2320,7 2458,7 @@ version = "0.24.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "de11355d1f6781482d027a3b4d4de7825dcedb197bf573e0596d00008402d060"
dependencies = [
 "bitflags",
 "bitflags 1.3.2",
 "block",
 "core-graphics-types",
 "foreign-types",


@@ 2335,6 2473,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"

[[package]]
name = "minimal-lexical"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"

[[package]]
name = "miniz_oxide"
version = "0.6.2"
source = "registry+https://github.com/rust-lang/crates.io-index"


@@ 2372,7 2516,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5eafe22a23b797c9bc227c6c896419b26b5bb88fa903417a3adaed08778850d5"
dependencies = [
 "bit-set",
 "bitflags",
 "bitflags 1.3.2",
 "codespan-reporting",
 "hexf-parse",
 "indexmap",


@@ 2439,7 2583,7 @@ version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "451422b7e4718271c8b5b3aadf5adedba43dc76312454b387e98fae0fc951aa0"
dependencies = [
 "bitflags",
 "bitflags 1.3.2",
 "jni-sys",
 "ndk-sys",
 "num_enum",


@@ 2468,7 2612,7 @@ version = "0.24.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fa52e972a9a719cecb6864fb88568781eb706bac2cd1d4f04a648542dbf78069"
dependencies = [
 "bitflags",
 "bitflags 1.3.2",
 "cfg-if",
 "libc",
 "memoffset 0.6.5",


@@ 2481,6 2625,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451"

[[package]]
name = "nom"
version = "7.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
dependencies = [
 "memchr",
 "minimal-lexical",
]

[[package]]
name = "ntapi"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"


@@ 2677,7 2831,7 @@ version = "0.10.50"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7e30d8bc91859781f0a943411186324d580f2bbeb71b452fe91ae344806af3f1"
dependencies = [
 "bitflags",
 "bitflags 1.3.2",
 "cfg-if",
 "foreign-types",
 "libc",


@@ 2785,7 2939,7 @@ checksum = "2d527d9e8d203c55e5d25811d6c65e120b577985cb9b64f00fdb9aaf8c3d80ea"
dependencies = [
 "approx",
 "arrayvec",
 "bitflags",
 "bitflags 1.3.2",
 "downcast-rs",
 "either",
 "nalgebra",


@@ 2805,6 2959,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9f746c4065a8fa3fe23974dd82f15431cc8d40779821001404d10d2e79ca7d79"

[[package]]
name = "peeking_take_while"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099"

[[package]]
name = "percent-encoding"
version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"


@@ 2844,7 3004,7 @@ version = "0.17.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aaeebc51f9e7d2c150d3f3bfeb667f2aa985db5ef1e3d212847bdedb488beeaa"
dependencies = [
 "bitflags",
 "bitflags 1.3.2",
 "crc32fast",
 "fdeflate",
 "flate2",


@@ 2921,7 3081,7 @@ dependencies = [
 "approx",
 "arrayvec",
 "bit-vec",
 "bitflags",
 "bitflags 1.3.2",
 "crossbeam",
 "downcast-rs",
 "nalgebra",


@@ 2956,7 3116,7 @@ version = "0.2.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a"
dependencies = [
 "bitflags",
 "bitflags 1.3.2",
]

[[package]]


@@ 2965,7 3125,7 @@ version = "0.3.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29"
dependencies = [
 "bitflags",
 "bitflags 1.3.2",
]

[[package]]


@@ 3063,7 3223,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "300a51053b1cb55c80b7a9fde4120726ddf25ca241a1cbb926626f62fb136bff"
dependencies = [
 "base64 0.13.1",
 "bitflags",
 "bitflags 1.3.2",
 "serde",
]



@@ 3085,7 3245,7 @@ version = "0.37.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "722529a737f5a942fdbac3a46cee213053196737c5eaa3386d52e85b786f2659"
dependencies = [
 "bitflags",
 "bitflags 1.3.2",
 "errno",
 "io-lifetimes",
 "libc",


@@ 3144,7 3304,7 @@ version = "2.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a332be01508d814fed64bf28f798a146d73792121129962fdf335bb3c49a4254"
dependencies = [
 "bitflags",
 "bitflags 1.3.2",
 "core-foundation",
 "core-foundation-sys",
 "libc",


@@ 3225,6 3385,12 @@ dependencies = [
]

[[package]]
name = "shlex"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3"

[[package]]
name = "simba"
version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"


@@ 3308,7 3474,7 @@ version = "0.2.0+1.5.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "246bfa38fe3db3f1dfc8ca5a2cdeb7348c78be2112740cc0ec8ef18b6d94f830"
dependencies = [
 "bitflags",
 "bitflags 1.3.2",
 "num-traits",
]



@@ 3325,6 3491,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9e08d8363704e6c71fc928674353e6b7c23dcea9d82d7012c8faf2a3a025f8d0"

[[package]]
name = "strsim"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a"

[[package]]
name = "svg_fmt"
version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"


@@ 3400,6 3572,15 @@ dependencies = [
]

[[package]]
name = "textwrap"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060"
dependencies = [
 "unicode-width",
]

[[package]]
name = "thiserror"
version = "1.0.40"
source = "registry+https://github.com/rust-lang/crates.io-index"


@@ 3615,6 3796,25 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0609f771ad9c6155384897e1df4d948e692667cc0588548b68eb44d052b27633"

[[package]]
name = "ttf2mesh"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ea8e67ed963a15e18ed49a41416e75fb33db3d85bd44fc556aba08413ae8bb01"
dependencies = [
 "ttf2mesh-sys",
]

[[package]]
name = "ttf2mesh-sys"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "af5e0710272c5e800d64b02c846b0bd4ad819d62c32dc23f4e0b06acb0820cd6"
dependencies = [
 "bindgen",
 "cc",
]

[[package]]
name = "typenum"
version = "1.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"


@@ 3687,6 3887,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"

[[package]]
name = "vec_map"
version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191"

[[package]]
name = "version_check"
version = "0.9.4"
source = "registry+https://github.com/rust-lang/crates.io-index"


@@ 3872,7 4078,7 @@ checksum = "7131408d940e335792645a98f03639573b0480e9e2e7cddbbab74f7c6d9f3fff"
dependencies = [
 "arrayvec",
 "bit-vec",
 "bitflags",
 "bitflags 1.3.2",
 "codespan-reporting",
 "fxhash",
 "log",


@@ 3897,7 4103,7 @@ dependencies = [
 "arrayvec",
 "ash",
 "bit-set",
 "bitflags",
 "bitflags 1.3.2",
 "block",
 "core-graphics-types",
 "d3d12",


@@ 3935,12 4141,23 @@ version = "0.15.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "32444e121b0bd00cb02c0de32fde457a9491bd44e03e7a5db6df9b1da2f6f110"
dependencies = [
 "bitflags",
 "bitflags 1.3.2",
 "js-sys",
 "web-sys",
]

[[package]]
name = "which"
version = "4.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2441c784c52b289a054b7201fc93253e288f094e2f4be9058343127c4226a269"
dependencies = [
 "either",
 "libc",
 "once_cell",
]

[[package]]
name = "wide"
version = "0.7.8"
source = "registry+https://github.com/rust-lang/crates.io-index"


@@ 4192,7 4409,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4f504e8c117b9015f618774f8d58cd4781f5a479bc41079c064f974cbb253874"
dependencies = [
 "android-activity",
 "bitflags",
 "bitflags 1.3.2",
 "cfg_aliases",
 "core-foundation",
 "core-graphics",

M client/Cargo.toml => client/Cargo.toml +3 -0
@@ 52,6 52,9 @@ features = [
    "debug-render-3d",
]

[dependencies.bevy_text_mesh]
version = "0.6.0"

[dependencies.bevy_egui]
version = "0.20.2"
default-features = false

M client/src/main.rs => client/src/main.rs +2 -0
@@ 14,6 14,7 @@ use bevy::prelude::*;
use bevy_editor_pls::EditorPlugin;
use bevy_egui::EguiPlugin;
use bevy_rapier3d::prelude::*;
use bevy_text_mesh::prelude::*;

mod api;
mod macros;


@@ 41,6 42,7 @@ fn main() {
    }));

    app.add_plugin(RapierPhysicsPlugin::<NoUserData>::default());
    app.add_plugin(TextMeshPlugin);

    app.insert_resource(AmbientLight {
        color: Color::ANTIQUE_WHITE,