mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Resolve some quirks with (wield) item meshes for nodes (#15654)
This commit is contained in:
parent
464cc92521
commit
636a734d78
8 changed files with 78 additions and 178 deletions
|
@ -474,21 +474,6 @@ struct ContentFeatures
|
|||
}
|
||||
}
|
||||
|
||||
bool needsBackfaceCulling() const
|
||||
{
|
||||
switch (drawtype) {
|
||||
case NDT_TORCHLIKE:
|
||||
case NDT_SIGNLIKE:
|
||||
case NDT_FIRELIKE:
|
||||
case NDT_RAILLIKE:
|
||||
case NDT_PLANTLIKE:
|
||||
case NDT_PLANTLIKE_ROOTED:
|
||||
case NDT_MESH:
|
||||
return false;
|
||||
default:
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
bool isLiquid() const{
|
||||
return (liquid_type != LIQUID_NONE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue