Skip to content

Commit

Permalink
Made IMarchingSquaresData inherit from IDisposable
Browse files Browse the repository at this point in the history
  • Loading branch information
BasmanovDaniil committed Jan 9, 2021
1 parent b43b6bc commit 02f676c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Runtime/MarchingSquares/IMarchingSquaresData.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
using System;

namespace ProceduralToolkit.MarchingSquares
{
public interface IMarchingSquaresData
public interface IMarchingSquaresData : IDisposable
{
int dataLengthX { get; }
int dataLengthY { get; }
bool useInterpolation { get; }
void Dispose();
bool TestValue(int x, int y);
bool TestAverage(int x, int y);
float InverseLerp(int xa, int ya, int xb, int yb);
Expand Down

0 comments on commit 02f676c

Please sign in to comment.