Add missing edge on transluency function

This commit is contained in:
Ian Curtis 2023-11-17 15:50:04 +00:00
parent d726356006
commit 8778f98c4a
2 changed files with 6 additions and 0 deletions
Src/Graphics/New3D

View file

@ -179,6 +179,11 @@ bool PolyHeader::NoLosReturn()
return (header[1] & 0x1) > 0; return (header[1] & 0x1) > 0;
} }
bool PolyHeader::EdgeOnTranslucency()
{
return (header[1] & 0x80) > 0;
}
// //
// header 2 // header 2
// //

View file

@ -108,6 +108,7 @@ public:
bool FixedShading(); bool FixedShading();
bool SmoothShading(); bool SmoothShading();
bool NoLosReturn(); // no line of sight return (still not exactly how sure this attribute is used yet) bool NoLosReturn(); // no line of sight return (still not exactly how sure this attribute is used yet)
bool EdgeOnTranslucency();
//header 2 //header 2
bool TexUMirror(); bool TexUMirror();