public IActionResult CreateFaultHeightmap([FromBody] FaultHeightmapRequestDto requestDto) { var result = terrainService.Generate(requestDto); return(Ok(result)); }
public Guid Generate(FaultHeightmapRequestDto requestDto) { var heightmapDto = faultHeightmapGenerator.GenerateHeightmap(requestDto.Width, requestDto.Height, requestDto.IterationCount, requestDto.OffsetPerIteration, requestDto.Seed); return(CreateHeightmap(heightmapDto)); }