Files
Project-Zenith-Main/Minecraft.World/GrassColor.cpp
GabsPuNs 3b09eb95db New File System and Cleanup some code Part 3
* Remove stdafx.h and some <unordered_set> includes
* Update Minecraft Server Defines and remove more unused folders/files
* Unbloat stdafx.h from Minecraft.World
2026-06-07 00:10:47 -04:00

20 lines
467 B
C++

#include "GrassColor.h"
// 4J Stu - Don't want to do this any more
//intArray GrassColor::pixels;
//
//void GrassColor::init(intArray pixels)
//{
// int *oldData = GrassColor::pixels.data;
// GrassColor::pixels = pixels;
// delete [] oldData;
//}
//
//int GrassColor::get(double temp, double rain)
//{
// rain *= temp;
// int x = (int) ((1 - temp) * 255);
// int y = (int) ((1 - rain) * 255);
// int returnVal = pixels[y << 8 | x];
// return returnVal;
//}