LWJGL not working

Posted by Jesse Welch on Stack Overflow See other posts from Stack Overflow or by Jesse Welch
Published on 2010-05-02T17:40:33Z Indexed on 2010/05/02 17:48 UTC
Read the original article Hit count: 670

Filed under:
|
|

I'm working on a homework assignment to modify code given by my professor using LightWeight Java Game Library. The problem is that I can't fully load the test code to begin testing modifications. I've linked against the jar file as it says to in the modifications, but I still have one lingering error. The import statement

import org.lwjgl.util.glu.*;

Cannot be resolved, so I have errors on the following lines, spread throughout the code:

textures[0] = GLApp.makeTexture("green.bmp");

GLU.gluPerspective(45.0f, (float)Display.getDisplayMode().getWidth() / (float)Display.getDisplayMode().getHeight(), 0.1f, 100.0f);

GLU.gluLookAt(cameraX, cameraY, cameraZ, lookX, lookY, lookZ, 0.0f, 1.0f, 0.0f);`

Any ideas on what is going wrong?

© Stack Overflow or respective owner

Related posts about java

Related posts about import