Skip to content

Commit 0a5656f

Browse files
committed
make grid lines blue
1 parent c4985e9 commit 0a5656f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/main/java/com/neuronrobotics/bowlerstudio/threed/BowlerStudio3dEngine.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1215,7 +1215,7 @@ public Group createGridMesh(int width, int height, int cellSize, double lineThic
12151215

12161216
// Create material for lines
12171217
PhongMaterial material = new PhongMaterial();
1218-
material.setDiffuseColor(Color.BLACK);
1218+
material.setDiffuseColor(Color.LIGHTBLUE);
12191219

12201220
int numXLines = (width / cellSize) + 1;
12211221
int numYLines = (height / cellSize) + 1;
@@ -1229,6 +1229,7 @@ public Group createGridMesh(int width, int height, int cellSize, double lineThic
12291229
horizontalLine.setTranslateY(yPos);
12301230
horizontalLine.setTranslateZ(0);
12311231
horizontalLine.setMouseTransparent(true);
1232+
horizontalLine.setCullFace(CullFace.NONE);// backs are black
12321233
gridGroup.getChildren().add(horizontalLine);
12331234
}
12341235

@@ -1241,6 +1242,7 @@ public Group createGridMesh(int width, int height, int cellSize, double lineThic
12411242
verticalLine.setTranslateY(height / 2.0);
12421243
verticalLine.setTranslateZ(0);
12431244
verticalLine.setMouseTransparent(true);
1245+
verticalLine.setCullFace(CullFace.NONE);// backs are black
12441246
gridGroup.getChildren().add(verticalLine);
12451247
}
12461248

0 commit comments

Comments
 (0)