Added mark radius 3D annotation to improve bird's eye visibility
#story[1261]
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package visualiser.layout;
|
||||
|
||||
import javafx.scene.paint.Color;
|
||||
import javafx.scene.paint.PhongMaterial;
|
||||
import javafx.scene.shape.Cylinder;
|
||||
|
||||
/**
|
||||
* Created by cbt24 on 9/09/17.
|
||||
*/
|
||||
public class MarkRadius extends Subject3D {
|
||||
public MarkRadius(double radius) {
|
||||
super(new Cylinder(radius, 0));
|
||||
this.getMesh().setMaterial(new PhongMaterial(new Color(1, 0, 0, 0.5)));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user