Skip to content

BiomeSampler.GetGaussianBlurrableBiomeMap(TerraConfig, GridPosition, int, int)': not all code paths return a value #6

Description

@Romelian

Hello, the latest commit has some missing code:

Assets\Terra\Source\Terrain\BiomeSampler.cs(173,17): error CS0161: 'BiomeSampler.GetGaussianBlurrableBiomeMap(TerraConfig, GridPosition, int, int)': not all code paths return a value

public int[,] GetGaussianBlurrableBiomeMap(TerraConfig config, GridPosition position, int resolution, int deviation) {
			int[,] biomeMap = GetBiomeMap(config, position, resolution);
			int kernelSize = BlurUtils.GetGaussianKernelSize(deviation);
			int newRes = resolution + kernelSize;
			int[,] blurrableBiomeMap = new int[newRes,newRes];
			
			// Fill in area surrounding the center biome map
		}	

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions