Kaynağa Gözat

solve issue #2178 (PBRTerrainTest typo) (#2181)

Stephen Gold 1 yıl önce
ebeveyn
işleme
b53e9f645e

+ 2 - 2
jme3-examples/src/main/java/jme3test/terrain/PBRTerrainTest.java

@@ -1,7 +1,7 @@
 package jme3test.terrain;
 
 /*
- * Copyright (c) 2009-2021 jMonkeyEngine
+ * Copyright (c) 2009-2024 jMonkeyEngine
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -352,7 +352,7 @@ public class PBRTerrainTest extends SimpleApplication {
         rootNode.addLight(directionalLight);
 
         ambientLight = new AmbientLight();
-        directionalLight.setColor(ColorRGBA.White);
+        ambientLight.setColor(ColorRGBA.White);
         rootNode.addLight(ambientLight);
     }