Changes by maxine
This commit is contained in:
@@ -49,6 +49,8 @@ namespace CaveGame::Core
|
||||
explicit Generator(int seed);
|
||||
|
||||
TileID HeightMap(float depth, int wx, int wy);
|
||||
float ComputePass(std::vector<Vector3>passes, float scaleFactor, float rng);
|
||||
//TileID ComputePass(float noiseX, float noiseY, float noiseZ, float scaleFactor, float rng);
|
||||
TileID ComputeTile(int wx, int wy);
|
||||
void FirstPass(Chunk& chunk);
|
||||
|
||||
|
@@ -49,6 +49,17 @@ namespace CaveGame::Core
|
||||
else { return TileID::STONE; }
|
||||
}
|
||||
|
||||
float Generator::ComputePass(std::vector<Vector3> passes, float scaleFactor, float rng) {
|
||||
float a;
|
||||
float b;
|
||||
float c;
|
||||
|
||||
float result = 0;
|
||||
|
||||
std::transform(passes.begin(), passes.end(), std::back_inserter(result), ::toupper);
|
||||
|
||||
return 0.f;
|
||||
}
|
||||
|
||||
|
||||
TileID Generator::ComputeTile(int wx, int wy) {
|
||||
|
Reference in New Issue
Block a user