M3DMatrix44f in LWJGL?

Is there a class or method similar to M3DMatrix44f in LWJGL?

Try using Google.

I have with no luck at all, that is why I came here. Hoping someone who has been in a similar situation may provide some info.

If you explain what it does, then maybe we could help finding something similar.

Matrix4f.

Here is some code in C++ that I am trying to port into java.


// Called to draw scene
void RenderScene(void)
    {
    M3DMatrix44f   transformationMatrix;   // Storeage for rotation matrix
    static GLfloat yRot = 0.0f;         // Rotation angle for animation
    yRot += 0.5f;
        
    // Clear the window with current clearing color
    glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
        
    // Build a rotation matrix
    m3dRotationMatrix44(transformationMatrix, m3dDegToRad(yRot), 0.0f, 1.0f, 0.0f);
    transformationMatrix[12] = 0.0f;
    transformationMatrix[13] = 0.0f;
    transformationMatrix[14] = -2.5f;
        
    DrawTorus(transformationMatrix);

    // Do the buffer Swap
    glutSwapBuffers();
    }

Just an example, I am not sure what m3dRotationMatrix and M3DMatrix44f are. Maybe this will help you figure out what they are for.

I am a OpenGL noobie btw.

Matrix4f.

I will test the class and see if I can get it working. Thank you.