// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: packimports(3) fieldsfirst 
// Source File Name:   Random.java

package lt.ktu.gmj.methods;

import lt.ktu.gmj.Point;

class Random extends Point
{

	public Random(Point point, double ad[], double ad1[])
	{
		super(point);
		for(int i = 0; i < super.x.length; i++)
			super.x[i] = Math.random();

		for(int j = 0; j < super.x.length; j++)
			super.x[j] = super.x[j] * (ad[j] - ad1[j]) + ad1[j];

	}
}
