mirror of
https://codeberg.org/icewind/vbsp.git
synced 2026-06-03 10:44:07 +02:00
tweak face visability
This commit is contained in:
parent
f1ead50800
commit
49da1f34f3
1 changed files with 2 additions and 5 deletions
|
|
@ -49,15 +49,12 @@ impl<'a> Handle<'a, Face> {
|
|||
pub fn is_visible(&self) -> bool {
|
||||
let texture = self.texture();
|
||||
!texture.flags.intersects(
|
||||
TextureFlags::LIGHT
|
||||
| TextureFlags::SKY2D
|
||||
TextureFlags::SKY2D
|
||||
| TextureFlags::SKY
|
||||
| TextureFlags::WARP
|
||||
| TextureFlags::TRIGGER
|
||||
| TextureFlags::HINT
|
||||
| TextureFlags::SKIP
|
||||
| TextureFlags::NODRAW
|
||||
| TextureFlags::HITBOX,
|
||||
| TextureFlags::NODRAW,
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue