1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-19 03:05:29 +02:00

Add support for attached facedir/4dir nodes (#11432)

This commit is contained in:
Wuzzy
2022-11-24 23:56:07 +01:00
committed by GitHub
parent 1c10988d6a
commit 3c7f26d937
13 changed files with 177 additions and 27 deletions

View File

@@ -33,6 +33,12 @@ extern const v3s16 g_27dirs[27];
extern const u8 wallmounted_to_facedir[6];
extern const v3s16 wallmounted_dirs[8];
extern const v3s16 facedir_dirs[32];
extern const v3s16 fourdir_dirs[4];
/// Direction in the 6D format. g_27dirs contains corresponding vectors.
/// Here P means Positive, N stands for Negative.
enum Direction6D {