mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
Grass rendering behing water fix
This commit is contained in:
parent
805f203f22
commit
ff0e617732
4 changed files with 18 additions and 10 deletions
|
|
@ -4,8 +4,11 @@
|
|||
#include <string>
|
||||
#include <vector>
|
||||
#include <unordered_map>
|
||||
#include <set>
|
||||
#include "../typedefs.h"
|
||||
|
||||
typedef std::set<unsigned char> DrawGroups;
|
||||
|
||||
class Block;
|
||||
class Content;
|
||||
|
||||
|
|
@ -46,8 +49,9 @@ class Content {
|
|||
std::unordered_map<std::string, Block*> blockDefs;
|
||||
public:
|
||||
ContentIndices* const indices;
|
||||
|
||||
Content(ContentIndices* indices,
|
||||
DrawGroups* const drawGroups;
|
||||
|
||||
Content(ContentIndices* indices, DrawGroups* drawGroups,
|
||||
std::unordered_map<std::string, Block*> blockDefs);
|
||||
~Content();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue