docs/guide/scene.md: close the Build engine snippet (merge of ws/sourcemdl)
This commit is contained in:
1 parent
c19a68dfae
commit
3e4170288b
1 file changed
+2
@@ -528,6 +528,8 @@ local again = assert(F.save(map, nil, { format = "buildmap" }))
|
|||||||
assert(buffer.tostring(again) == buffer.tostring(buildmapBytes))
|
assert(buffer.tostring(again) == buffer.tostring(buildmapBytes))
|
||||||
local Build = F.format("buildmap") -- the floor height under a point, slopes included
|
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)
|
assert(Build.slopeZ(level, 0, true, 100, 100) == level.sectors[1].floorz)
|
||||||
|
```
|
||||||
|
|
||||||
## Source engine models (MDL v44-49)
|
## 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
|
`sourcemdl` reads Source studio models (Half-Life 2 to CS:GO-era v44-49; GoldSrc v10 stays `mdl`). The geometry is
|
||||||
|
|||||||
Reference in new issue
Block a user