mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-08 18:46:36 +00:00
chore: format Minecraft.World
This commit is contained in:
@@ -2,20 +2,20 @@
|
||||
#include "GrassColor.h"
|
||||
|
||||
// 4J Stu - Don't want to do this any more
|
||||
//intArray GrassColor::pixels;
|
||||
// intArray GrassColor::pixels;
|
||||
//
|
||||
//void GrassColor::init(intArray pixels)
|
||||
// void GrassColor::init(intArray pixels)
|
||||
//{
|
||||
// int *oldData = GrassColor::pixels.data;
|
||||
// GrassColor::pixels = pixels;
|
||||
// delete [] oldData;
|
||||
//}
|
||||
//
|
||||
//int GrassColor::get(double temp, double rain)
|
||||
// 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];
|
||||
// int returnVal = pixels[y << 8 | x];
|
||||
// return returnVal;
|
||||
//}
|
||||
Reference in New Issue
Block a user