From 3e4170288b6ef733da24ec2cedd262ba854e66a6 Mon Sep 17 00:00:00 2001 From: 4DBug Date: Sun, 1 Nov 2026 19:25:52 -0600 Subject: [PATCH] docs/guide/scene.md: close the Build engine snippet (merge of ws/sourcemdl) --- docs/guide/scene.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/guide/scene.md b/docs/guide/scene.md index 5baebea..e8d338a 100644 --- a/docs/guide/scene.md +++ b/docs/guide/scene.md @@ -528,6 +528,8 @@ local again = assert(F.save(map, nil, { format = "buildmap" })) assert(buffer.tostring(again) == buffer.tostring(buildmapBytes)) local Build = F.format("buildmap") -- the floor height under a point, slopes included assert(Build.slopeZ(level, 0, true, 100, 100) == level.sectors[1].floorz) +``` + ## Source engine models (MDL v44-49) `sourcemdl` reads Source studio models (Half-Life 2 to CS:GO-era v44-49; GoldSrc v10 stays `mdl`). The geometry is