src/inc/mesh.hpp
inline bool show_face(block_id face, block_id neighbor, int face_id)
{
	bool hide = is_transparent(neighbor);

	if (face == id_water && neighbor == id_water)
	{
		hide = false;
	}
	else if (face == id_glass && neighbor == id_glass)
	{
		hide = false;
	}

	return hide;
}
// Returns true if a face should be shown, otherwise returns false.
Returns true if a face should be shown, otherwise returns false.
Returns true if a face should be shown otherwise returns false .
inline bool show_face(block_id face, block_id neighbor, int face_id)
{
	bool hide = is_transparent(neighbor);
	if (face == id_water && neighbor == id_water)
	{
		hide = false;
	}
	else if (face == id_glass && neighbor == id_glass)
	{
		hide = false;
	}
	return hide;
}
inline bool show_face ( block_id face , block_id neighbor , int face_id ) { bool hide = is_transparent ( neighbor ) ; if ( face == id_water && neighbor == id_water ) { hide = false ; } else if ( face == id_glass && neighbor == id_glass ) { hide = false ; } return hide ; }
Returns true if a face should be shown, otherwise returns false.
Returns true if a face should be shown otherwise returns false .