Skip to content

Commit cc672af

Browse files
committed
update changelog
1 parent c81b467 commit cc672af

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
9191

9292
- New `SceneMan` function `CastAllMOsRay(startVector, rayVector, table ignoreMOIDs, ignoreTeam, ignoreMaterial, bool ignoreAllTerrain, int skip)` which returns an iterator with pointers to all the non-ignored MOs met along the ray.
9393

94+
- New parameter `depth` for all primitives sets draw depth of the drawn primitive. The default depth is -75.0 (lower numbers draw on top, higher numbers in the back).
95+
96+
- New `DrawDepth` enum for default draw depths:
97+
- `Default` = 0.0f (Main draw depth for MOs)
98+
- `GUI` = -100.0f (Draw Depth of GUI elements)
99+
- `Primitive` = -75.0f (Default Primitive draw depth)
100+
- `TerrainBackground` = 50.0f (Draw Depth of Terrain Background layer)
101+
- `Background` = 100.0f (Draw Depth of Background layer)
102+
94103
</details>
95104

96105
<details><summary><b>Changed</b></summary>

0 commit comments

Comments
 (0)