Fixed some things in ParticleTest
This commit is contained in:
parent
5800ccd567
commit
2cf9def34c
2 changed files with 26 additions and 13 deletions
|
|
@ -26,7 +26,7 @@ public class ParticlesTest extends LWJGLGameWindow{
|
|||
ptf.getJFrame().setVisible(true);
|
||||
|
||||
p = new Particles("particle");
|
||||
p.setLocation(new Vector2f(200,200));
|
||||
p.setLocation(new Vector2f(LWJGLGameWindow.getWidth()/2,LWJGLGameWindow.getHeight()/2));
|
||||
rootNode.add(p);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue