view src/samer/units/GenerateVector.java @ 5:b67a33c44de7

Remove some crap, etc
author samer
date Fri, 05 Apr 2019 21:34:25 +0100
parents bf79fb79ee13
children
line wrap: on
line source
package	samer.units;
import	samer.tools.*;
import	samer.maths.*;

public class GenerateVector extends AnonymousTask
{
	Generator	gen;
	VVector		vec;
	double		out[];

	public GenerateVector(VVector out, Generator g)
	{
		this.out=out.array();
		vec=out;
		gen=g;
	}

	public Vec	output() { return vec; }
	public void setGenerator(Generator g) { gen=g; }
	public void run() { gen.next(out); /* vec.changed(); */ }
}