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