Skip to content

Commit c65706c

Browse files
committed
standardize some details in the MinieExample apps
1 parent 7007119 commit c65706c

5 files changed

Lines changed: 14 additions & 5 deletions

File tree

MinieExamples/src/main/java/jme3utilities/minie/test/BalanceDemo.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ public class BalanceDemo extends ActionApplication {
101101
/**
102102
* application name for its window's title bar
103103
*/
104-
final private static String applicationName = "BalanceDemo";
104+
final private static String applicationName
105+
= BalanceDemo.class.getSimpleName();
105106
// *************************************************************************
106107
// fields
107108

@@ -494,6 +495,7 @@ private void dumpScenes() {
494495
PhysicsDumper dumper = new PhysicsDumper();
495496
//dumper.setDumpBucket(true);
496497
//dumper.setDumpCull(true);
498+
//dumper.setDumpMatParam(true);
497499
//dumper.setDumpOverride(true);
498500
//dumper.setDumpShadow(true);
499501
dumper.setDumpTransform(true);

MinieExamples/src/main/java/jme3utilities/minie/test/MultiSphereDemo.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ public class MultiSphereDemo
8686
/**
8787
* application name for the window's title bar
8888
*/
89-
final private static String applicationName = "MultiSphereDemo";
89+
final private static String applicationName
90+
= MultiSphereDemo.class.getSimpleName();
9091
// *************************************************************************
9192
// fields
9293

@@ -369,6 +370,7 @@ private void dumpScenes() {
369370
PhysicsDumper dumper = new PhysicsDumper();
370371
//dumper.setDumpBucket(true);
371372
//dumper.setDumpCull(true);
373+
//dumper.setDumpMatParam(true);
372374
//dumper.setDumpOverride(true);
373375
//dumper.setDumpShadow(true);
374376
dumper.setDumpTransform(true);

MinieExamples/src/main/java/jme3utilities/minie/test/SeJointDemo.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright (c) 2018, Stephen Gold
2+
Copyright (c) 2018-2019, Stephen Gold
33
All rights reserved.
44
55
Redistribution and use in source and binary forms, with or without
@@ -100,7 +100,8 @@ public class SeJointDemo extends ActionApplication {
100100
/**
101101
* application name for its window's title bar
102102
*/
103-
final private static String applicationName = "SeJointDemo";
103+
final private static String applicationName
104+
= SeJointDemo.class.getSimpleName();
104105
/**
105106
* joint axes in physics-space coordinates (unit vector)
106107
*/
@@ -550,6 +551,7 @@ private void dumpScene() {
550551
PhysicsDumper dumper = new PhysicsDumper();
551552
//dumper.setDumpBucket(true);
552553
//dumper.setDumpCull(true);
554+
//dumper.setDumpMatParam(true);
553555
//dumper.setDumpOverride(true);
554556
//dumper.setDumpShadow(true);
555557
dumper.setDumpTransform(true);

MinieExamples/src/main/java/jme3utilities/minie/test/TestDac.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ public class TestDac extends ActionApplication {
126126
/**
127127
* application name for its window's title bar
128128
*/
129-
final private static String applicationName = "TestDac";
129+
final private static String applicationName
130+
= TestDac.class.getSimpleName();
130131
// *************************************************************************
131132
// fields
132133

@@ -660,6 +661,7 @@ private void dumpScenes() {
660661
PhysicsDumper dumper = new PhysicsDumper();
661662
//dumper.setDumpBucket(true);
662663
//dumper.setDumpCull(true);
664+
//dumper.setDumpMatParam(true);
663665
//dumper.setDumpOverride(true);
664666
//dumper.setDumpShadow(true);
665667
dumper.setDumpTransform(true);

MinieExamples/src/main/java/jme3utilities/minie/test/TestHullContact.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,7 @@ private void dumpScenes() {
365365
PhysicsDumper dumper = new PhysicsDumper();
366366
//dumper.setDumpBucket(true);
367367
//dumper.setDumpCull(true);
368+
//dumper.setDumpMatParam(true);
368369
//dumper.setDumpOverride(true);
369370
//dumper.setDumpShadow(true);
370371
dumper.setDumpTransform(true);

0 commit comments

Comments
 (0)