Texturing code + some other changes
This commit is contained in:
17
include/Nodes.h
Normal file
17
include/Nodes.h
Normal 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;
|
||||
};
|
||||
Reference in New Issue
Block a user