blob: 1952693176f52e813295fba8562078ebe294ea55 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#pragma once
#include "Layer.h"
class FuzzyZoomLayer : public Layer
{
public:
FuzzyZoomLayer(int64_t seedMixup, shared_ptr<Layer>parent);
intArray getArea(int xo, int yo, int w, int h);
protected:
int random(int a, int b);
int random(int a, int b, int c, int d);
public:
static shared_ptr<Layer>zoom(int64_t seed, shared_ptr<Layer>sup, int count);
};
|