Commit 9bf84da4 authored by Riegel's avatar Riegel
Browse files

Disable BackfaceCulling by default

parent 5d1a9009
Pipeline #10305 passed with stage
in 1 minute and 18 seconds
...@@ -24,7 +24,7 @@ public class Renderer { ...@@ -24,7 +24,7 @@ public class Renderer {
private TriangulatedGeometry currentTriGeom; private TriangulatedGeometry currentTriGeom;
private Geometry currentGeometry; private Geometry currentGeometry;
private CullFace currentCulling = CullFace.BACK; private CullFace currentCulling = CullFace.NONE;
private DrawMode currentDrawMode = DrawMode.FILL; private DrawMode currentDrawMode = DrawMode.FILL;
private MainWindow mainWindow; private MainWindow mainWindow;
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.Insets?> <?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?> <?import javafx.scene.control.*?>
<?import javafx.scene.control.Separator?> <?import javafx.scene.image.*?>
<?import javafx.scene.control.ToggleButton?> <?import javafx.scene.layout.*?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.HBox?>
<HBox maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" spacing="5.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1"> <HBox maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" spacing="5.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1">
<children> <children>
<HBox spacing="5.0" HBox.hgrow="NEVER"> <HBox spacing="5.0" HBox.hgrow="NEVER">
...@@ -31,7 +28,7 @@ ...@@ -31,7 +28,7 @@
<ImageView fx:id="gridImageView" fitHeight="32.0" fitWidth="32.0" pickOnBounds="true" preserveRatio="true" /> <ImageView fx:id="gridImageView" fitHeight="32.0" fitWidth="32.0" pickOnBounds="true" preserveRatio="true" />
</graphic> </graphic>
</ToggleButton> </ToggleButton>
<ToggleButton fx:id="cullingButton" disable="true" mnemonicParsing="false" selected="true"> <ToggleButton fx:id="cullingButton" disable="true" mnemonicParsing="false">
<graphic> <graphic>
<ImageView fx:id="cullingImageView" fitHeight="32.0" fitWidth="32.0" pickOnBounds="true" preserveRatio="true" /> <ImageView fx:id="cullingImageView" fitHeight="32.0" fitWidth="32.0" pickOnBounds="true" preserveRatio="true" />
</graphic> </graphic>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment