use of org.jwildfire.create.eden.base.Size3f in project JWildfire by thargor6.
the class PositionableSceneElement method clone.
public PositionableSceneElement clone() throws CloneNotSupportedException {
PositionableSceneElement copy;
copy = (PositionableSceneElement) super.clone();
copy.position = new Point3f(position.getX(), position.getY(), position.getZ());
copy.orientation = new Angle3f(orientation.getAlpha(), orientation.getBeta(), orientation.getGamma());
copy.size = new Size3f(size.getX(), size.getY(), size.getZ());
return copy;
}