public Oscilator(Shapes.Shape shape, float amplitude, float period, Vector3 axis) : base(shape) { ReferencePos = (shape != null) ? shape.Position : Vector3.Zero; Axis = axis; Amplitude = amplitude; Period = period; }
public Oscilator(Shapes.Shape shape, float amplitude = 1.0f, float period = 5.0f) : this(shape, amplitude, period, Vector3.AxisZ) { }
protected ShapeMover(Shapes.Shape shape) { Shape = shape; }