| Modifier and Type | Field and Description |
|---|---|
| private float | angle
angle of quad |
| private float | angleRotation
degrees to rotate per frame |
| private static int | |
| private static int | |
| private static final float | MAX_SPEED
Max speed of all changable attributes |
| private DisplayMode | mode
Intended deiplay mode |
| private Vector2f | quadPosition
our quad moving around |
| private Vector2f | quadVelocity
our quadVelocity |
| private QuadRenderer |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public void | |
| private static DisplayMode | findDisplayMode(int
Required width width, int Required height height, int Minimum required bits per pixel bpp)Retrieves a displaymode, if one such is available |
| private void | |
| private void | |
| private void | |
| public static void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void |
| angle | back to summary |
|---|---|
| private float angle angle of quad | |
| angleRotation | back to summary |
|---|---|
| private float angleRotation degrees to rotate per frame | |
| buffer_id | back to summary |
|---|---|
| private static int buffer_id | |
| indices_buffer_id | back to summary |
|---|---|
| private static int indices_buffer_id | |
| MAX_SPEED | back to summary |
|---|---|
| private static final float MAX_SPEED Max speed of all changable attributes | |
| mode | back to summary |
|---|---|
| private DisplayMode mode Intended deiplay mode | |
| quadPosition | back to summary |
|---|---|
| private Vector2f quadPosition our quad moving around | |
| quadVelocity | back to summary |
|---|---|
| private Vector2f quadVelocity our quadVelocity | |
| renderer | back to summary |
|---|---|
| private QuadRenderer renderer | |
| FullScreenWindowedTest | back to summary |
|---|---|
| public FullScreenWindowedTest() Creates a FullScreenWindowedTest | |
| cleanup | back to summary |
|---|---|
| private void cleanup() Cleans up the test | |
| execute | back to summary |
|---|---|
| public void execute() Executes the test | |
| findDisplayMode | back to summary |
|---|---|
| private static DisplayMode findDisplayMode(int width, int height, int bpp) throws LWJGLException Retrieves a displaymode, if one such is available
| |
| glInit | back to summary |
|---|---|
| private void glInit() Initializes OGL | |
| initialize | back to summary |
|---|---|
| private void initialize() Initializes the test | |
| logic | back to summary |
|---|---|
| private void logic() Performs the logic | |
| main | back to summary |
|---|---|
| public static void main(String[] args) Test entry point | |
| mainLoop | back to summary |
|---|---|
| private void mainLoop() Runs the main loop of the "test" | |
| processKeyboard | back to summary |
|---|---|
| private void processKeyboard() Processes keyboard input | |
| reinit | back to summary |
|---|---|
| private void reinit() throws LWJGLException | |
| render | back to summary |
|---|---|
| private void render() | |
| switchMode | back to summary |
|---|---|
| private void switchMode() throws LWJGLException | |