< prev index next >

modules/javafx.graphics/src/main/java/javafx/scene/shape/Box.java

Print this page

        

*** 83,103 **** }); } private TriangleMesh mesh; - /** - * Creates a new instance of {@code Box} of dimension 2 by 2 by 2. - */ - public static final double DEFAULT_SIZE = 2; { // To initialize the class helper at the beginning of each constructor of this class BoxHelper.initHelper(this); } public Box() { this(DEFAULT_SIZE, DEFAULT_SIZE, DEFAULT_SIZE); } /** --- 83,102 ---- }); } private TriangleMesh mesh; public static final double DEFAULT_SIZE = 2; { // To initialize the class helper at the beginning of each constructor of this class BoxHelper.initHelper(this); } + /** + * Creates a new instance of {@code Box} of dimension 2 by 2 by 2. + */ public Box() { this(DEFAULT_SIZE, DEFAULT_SIZE, DEFAULT_SIZE); } /**
< prev index next >