Basic rendering of asthenosphere and lithosphere.

This commit is contained in:
2025-12-06 11:47:35 -05:00
parent d412349d9b
commit d52e19740e
3 changed files with 25 additions and 32 deletions

View File

@@ -84,7 +84,10 @@ Vec2 asth[WORLD_SZ][WORLD_SZ] = {
},
};
Plate lith[2] = {
(Plate){COL_BLU, 4, {(Pt){0, 0}, (Pt){4, 0}, (Pt){0, 8}, (Pt){4, 8}}},
(Plate){COL_RED, 4, {(Pt){4, 0}, (Pt){8, 0}, (Pt){8, 8}, (Pt){4, 8}}}
Plate lith[NPLATES] = {
(Plate){.col = COL_BLU,
.nverts = 4,
.verts = {(Pt){0, 0}, (Pt){7, 0}, (Pt){7, 5}, (Pt){4, 4}}},
(Plate){COL_RED, 4, {(Pt){0, 0}, (Pt){4, 4}, (Pt){2, 7}, (Pt){0, 7}}},
(Plate){COL_GRN, 4, {(Pt){4, 4}, (Pt){7, 5}, (Pt){7, 7}, (Pt){2, 7}}},
};