public double[] getConstants() { return new double[] { scale, type.ordinal() }; }
@Override public double[] getConstants() { return new double[] {scale, type.ordinal()}; }
public YoArtifactPosition(String name, YoFramePoint2d point, GraphicType type, Color color, double radius) { super(name, new double[] {radius, type.ordinal()}, color, point.getYoX(), point.getYoY()); this.point = point; this.graphicType = type; this.radii.set(radius, radius); }
public YoArtifactPosition(String name, YoFramePoint2D point, GraphicType type, Color color, double radius) { super(name, new double[] {radius, type.ordinal()}, color, point.getYoX(), point.getYoY()); this.point = point; graphicType = type; radii.set(radius, radius); }