Files
Project-Zenith-Main/Minecraft.World/WaterColor.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

22 lines
454 B
C++

#include "WaterColor.h"
// 4J Stu - Not using this any more
//intArray WaterColor::pixels;
//
//void WaterColor::init(intArray pixels)
//{
// int *oldData = WaterColor::pixels.data;
// WaterColor::pixels = pixels;
// delete [] oldData;
//}
//
//int WaterColor::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;
//}