veloren/common
Joshua Yanovski 6f3d5da6f3 Further generalize the typed module.
This enables us to automatically create configuration formats from enums
or structs.  For enums, we create a structure with a field for each
case, representing a pattern match; the configuration format can then
enter a different expression for each case.  For structs, we create an
enum with a variant for each field, representing projecting by that
field; the configuration format selects the field to project from, and
then can write a further expression on that field (for instance, it can
perform another pattern match).

So far we don't actually have anything that *uses* this functionality;
I decided to finish it for the purpose of specifying a default
lantern offset, only to discover that we already return a lantern offset
from the animation crate.  So I fixed it there instead.
2020-08-31 05:59:44 +02:00
..
benches apply new rustfmt - touching alot of files 2020-02-01 21:39:39 +01:00
src Further generalize the typed module. 2020-08-31 05:59:44 +02:00
build.rs nix: Switch to crate2nix, and niv for dependency management 2020-06-23 20:51:32 +03:00
Cargo.toml (See sharp/lod-history) LOD, shadows, greedy meshing, new lighting, perf 2020-08-20 20:34:59 +02:00