// Path: src/com/htssoft/sploosh/presentation/FluidTracer.java
// public class FluidTracer {
// 	/**
// 	 * Position of the fluid tracer at the current time.
// 	 * */
// 	public final Vector3f position = new Vector3f();
// 	
// 	/**
// 	 * This is an intertial component, which may be affected
// 	 * by outside forces.
// 	 * 
// 	 * The reynolds ratio below determines how much affect
// 	 * this component has versus vorticity advection.
// 	 * */
// 	public final Vector3f inertia = new Vector3f();
// 	
// 	/**
// 	 * How much contribution does the vorticity advection
// 	 * have versus the vorticity.
// 	 * */
// 	public float reynoldsRatio = 1f;
// 	
// 	/**
// 	 * Particle's physical radius.
// 	 * */
// 	public float radius = 0.1f;
// 	
// 	/**
// 	 * The coefficient of drag.
// 	 * */
// 	public float drag = 0.8f;
// 	
// 	/**
// 	 * Target lifetime of this tracer in seconds.
// 	 * */
// 	public float lifetime = 0f;
// 	
// 	/**
// 	 * How many seconds has this tracer lived?
// 	 * */
// 	public float age;
// 	
// 	public void clear(){
// 		position.zero();
// 		inertia.zero();
// 	}
// }
// 
// Path: src/com/htssoft/sploosh/presentation/FluidTracerInitializer.java
// public interface FluidTracerInitializer {
// 	/**
// 	 * Initialize a new tracer.
// 	 * */
// 	public void initTracer(FluidTracer tracer, EmitterShape shape, Transform worldTransform);
// 	
// }


import com.htssoft.sploosh.presentation.FluidTracer;
import com.htssoft.sploosh.presentation.FluidTracerInitializer;
import com.jme3.effect.shapes.EmitterShape;
import com.jme3.math.Transform;
import com.jme3.math.Vector3f;
package com.htssoft.sploosh.affectors;


public class UniformInit implements FluidTracerInitializer {
	protected Vector3f initVel = new Vector3f();
		
	public UniformInit(Vector3f initVel){
		this.initVel.set(initVel);
	}
	
	@Override
// Path: src/com/htssoft/sploosh/presentation/FluidTracer.java
// public class FluidTracer {
// 	/**
// 	 * Position of the fluid tracer at the current time.
// 	 * */
// 	public final Vector3f position = new Vector3f();
// 	
// 	/**
// 	 * This is an intertial component, which may be affected
// 	 * by outside forces.
// 	 * 
// 	 * The reynolds ratio below determines how much affect
// 	 * this component has versus vorticity advection.
// 	 * */
// 	public final Vector3f inertia = new Vector3f();
// 	
// 	/**
// 	 * How much contribution does the vorticity advection
// 	 * have versus the vorticity.
// 	 * */
// 	public float reynoldsRatio = 1f;
// 	
// 	/**
// 	 * Particle's physical radius.
// 	 * */
// 	public float radius = 0.1f;
// 	
// 	/**
// 	 * The coefficient of drag.
// 	 * */
// 	public float drag = 0.8f;
// 	
// 	/**
// 	 * Target lifetime of this tracer in seconds.
// 	 * */
// 	public float lifetime = 0f;
// 	
// 	/**
// 	 * How many seconds has this tracer lived?
// 	 * */
// 	public float age;
// 	
// 	public void clear(){
// 		position.zero();
// 		inertia.zero();
// 	}
// }
// 
// Path: src/com/htssoft/sploosh/presentation/FluidTracerInitializer.java
// public interface FluidTracerInitializer {
// 	/**
// 	 * Initialize a new tracer.
// 	 * */
// 	public void initTracer(FluidTracer tracer, EmitterShape shape, Transform worldTransform);
// 	
// }


// Path: src/com/htssoft/sploosh/affectors/UniformInit.java
import com.htssoft.sploosh.presentation.FluidTracer;
import com.htssoft.sploosh.presentation.FluidTracerInitializer;
import com.jme3.effect.shapes.EmitterShape;
import com.jme3.math.Transform;
import com.jme3.math.Vector3f;

package com.htssoft.sploosh.affectors;


public class UniformInit implements FluidTracerInitializer {
	protected Vector3f initVel = new Vector3f();
		
	public UniformInit(Vector3f initVel){
		this.initVel.set(initVel);
	}
	
	@Override
	public void initTracer(FluidTracer tracer, EmitterShape shape, Transform worldTransform) {