parent
9fbd5df626
commit
a82d3081fc
@ -1,18 +0,0 @@
|
|||||||
package visualiser.layout;
|
|
||||||
|
|
||||||
import javafx.scene.paint.Color;
|
|
||||||
import javafx.scene.paint.PhongMaterial;
|
|
||||||
import javafx.scene.shape.Cylinder;
|
|
||||||
import javafx.scene.transform.Rotate;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by jjg64 on 19/09/17.
|
|
||||||
*/
|
|
||||||
public class BoatHighlight extends Subject3D {
|
|
||||||
|
|
||||||
public BoatHighlight(double radius, Color color) {
|
|
||||||
super(new Cylinder(radius,0),0);
|
|
||||||
getMesh().getTransforms().add(new Rotate(-90, Rotate.X_AXIS));
|
|
||||||
getMesh().setMaterial(new PhongMaterial(color));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Loading…
Reference in new issue