Added a nicer toString() to DirectionalLight.
This commit is contained in:
parent
2b1c3d22e8
commit
c2fe803f53
@ -132,6 +132,11 @@ 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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user