moved Lesson19 to test package
This commit is contained in:
parent
2f40eced5f
commit
0d5aba3407
1 changed files with 21 additions and 1 deletions
|
|
@ -13,7 +13,6 @@ import org.lwjgl.opengl.GL11;
|
||||||
import org.lwjgl.opengl.glu.GLU;
|
import org.lwjgl.opengl.glu.GLU;
|
||||||
import org.lwjgl.input.Keyboard;
|
import org.lwjgl.input.Keyboard;
|
||||||
|
|
||||||
import ei.engine.effects.Particle;
|
|
||||||
import ei.engine.texture.Texture;
|
import ei.engine.texture.Texture;
|
||||||
import ei.engine.texture.TextureLoader;
|
import ei.engine.texture.TextureLoader;
|
||||||
import ei.engine.util.MultiPrintStream;
|
import ei.engine.util.MultiPrintStream;
|
||||||
|
|
@ -309,5 +308,26 @@ public class Lesson19 {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
class Particle { // Particles Structure
|
||||||
|
public boolean active; // Active (Yes/No)
|
||||||
|
public float life; // Particle Life
|
||||||
|
public float fade; // Fade Speed
|
||||||
|
|
||||||
|
public float r; // Red Value
|
||||||
|
public float g; // Green Value
|
||||||
|
public float b; // Blue Value
|
||||||
|
|
||||||
|
public float x; // X Position
|
||||||
|
public float y; // Y Position
|
||||||
|
public float z; // Z Position
|
||||||
|
|
||||||
|
public float xi; // X Direction
|
||||||
|
public float yi; // Y Direction
|
||||||
|
public float zi; // Z Direction
|
||||||
|
|
||||||
|
public float xg; // X Gravity
|
||||||
|
public float yg; // Y Gravity
|
||||||
|
public float zg; // Z Gravity
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue