Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 public Oscilator(Shapes.Shape shape, float amplitude = 1.0f, float period = 5.0f)
     : this(shape, amplitude, period, Vector3.AxisZ)
 {
 }
Exemplo n.º 3
0
 protected ShapeMover(Shapes.Shape shape)
 {
     Shape = shape;
 }