Texturing code + some other changes

This commit is contained in:
2022-10-23 17:44:58 -04:00
parent bcd6762276
commit 6b169a1c50
8 changed files with 212 additions and 71 deletions

17
include/Nodes.h Normal file
View File

@@ -0,0 +1,17 @@
class Node
{
public:
Node(int i, int j)
{
id = i;
textureIndex = j;
}
int getTextureIndexFromSide(int side)
{
return textureIndex;
}
private:
int id;
int textureIndex;
};