|
@@ -1,5 +1,5 @@
|
|
/*
|
|
/*
|
|
- * Copyright (c) 2009-2012, 2015-2016 jMonkeyEngine
|
|
|
|
|
|
+ * Copyright (c) 2009-2025 jMonkeyEngine
|
|
* All rights reserved.
|
|
* All rights reserved.
|
|
*
|
|
*
|
|
* Redistribution and use in source and binary forms, with or without
|
|
* Redistribution and use in source and binary forms, with or without
|
|
@@ -132,11 +132,6 @@ public class DirectionalLight extends Light {
|
|
return Type.Directional;
|
|
return Type.Directional;
|
|
}
|
|
}
|
|
|
|
|
|
- @Override
|
|
|
|
- public String toString() {
|
|
|
|
- return getClass().getSimpleName() + "[name=" + name + ", direction=" + direction + ", color=" + color + ", enabled=" + enabled + "]";
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
@Override
|
|
@Override
|
|
public void write(JmeExporter ex) throws IOException {
|
|
public void write(JmeExporter ex) throws IOException {
|
|
super.write(ex);
|
|
super.write(ex);
|
|
@@ -157,4 +152,14 @@ public class DirectionalLight extends Light {
|
|
l.direction = direction.clone();
|
|
l.direction = direction.clone();
|
|
return l;
|
|
return l;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ @Override
|
|
|
|
+ public String toString() {
|
|
|
|
+ return getClass().getSimpleName()
|
|
|
|
+ + "[name=" + name
|
|
|
|
+ + ", direction=" + direction
|
|
|
|
+ + ", color=" + color
|
|
|
|
+ + ", enabled=" + enabled
|
|
|
|
+ + "]";
|
|
|
|
+ }
|
|
}
|
|
}
|