Optimization interne de chunk!
This commit is contained in:
		| @@ -7,7 +7,7 @@ | ||||
| class BlockInfo | ||||
| { | ||||
|     public: | ||||
|     BlockInfo(BlockType type, const std::string& name); | ||||
|     BlockInfo(BlockType type, const std::string& name, float u, float v, float s, int dur); | ||||
|     ~BlockInfo(); | ||||
|  | ||||
|     BlockType GetType() const; | ||||
| @@ -15,11 +15,15 @@ class BlockInfo | ||||
|     void SetDurability(int durability); | ||||
|     int GetDurability() const; | ||||
|  | ||||
|     void GetTexture(float& u, float& v, float& s); | ||||
|  | ||||
|     void Show() const; | ||||
|  | ||||
|     private: | ||||
|     BlockType m_type; | ||||
|     float m_u; | ||||
|     float m_v; | ||||
|     float m_s; | ||||
|     std::string m_name; | ||||
|     int m_durability; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user