Fix printing if stencil is enable or disable
This commit is contained in:
parent
37ee57e845
commit
14281eb8cb
@ -114,10 +114,10 @@ public class TestDepthStencil extends SimpleApplication {
|
||||
if (name.equals("toggle") && keyPressed) {
|
||||
if (enableStencil) {
|
||||
enableStencil = false;
|
||||
System.out.println("Stencil Enabled (model should be hidden)");
|
||||
System.out.println("Stencil Disabled (model should be visible)");
|
||||
} else {
|
||||
enableStencil = true;
|
||||
System.out.println("Stencil Disabled (model should be visible)");
|
||||
System.out.println("Stencil Enabled (model should be hidden)");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user