Class GLU

java.lang.Object
org.lwjgl.util.glu.GLU

public class GLU extends Object
GLU.java Created 23-dec-2003
Author:
Erik Duijs
  • Field Details

  • Constructor Details

    • GLU

      public GLU()
  • Method Details

    • gluLookAt

      public static void gluLookAt(float eyex, float eyey, float eyez, float centerx, float centery, float centerz, float upx, float upy, float upz)
      Method gluLookAt
      Parameters:
      eyex -
      eyey -
      eyez -
      centerx -
      centery -
      centerz -
      upx -
      upy -
      upz -
    • gluOrtho2D

      public static void gluOrtho2D(float left, float right, float bottom, float top)
      Method gluOrtho2D
      Parameters:
      left -
      right -
      bottom -
      top -
    • gluPerspective

      public static void gluPerspective(float fovy, float aspect, float zNear, float zFar)
      Method gluPerspective
      Parameters:
      fovy -
      aspect -
      zNear -
      zFar -
    • gluProject

      public static boolean gluProject(float objx, float objy, float objz, FloatBuffer modelMatrix, FloatBuffer projMatrix, IntBuffer viewport, FloatBuffer win_pos)
      Method gluProject
      Parameters:
      objx -
      objy -
      objz -
      modelMatrix -
      projMatrix -
      viewport -
      win_pos -
    • gluUnProject

      public static boolean gluUnProject(float winx, float winy, float winz, FloatBuffer modelMatrix, FloatBuffer projMatrix, IntBuffer viewport, FloatBuffer obj_pos)
      Method gluUnproject
      Parameters:
      winx -
      winy -
      winz -
      modelMatrix -
      projMatrix -
      viewport -
      obj_pos -
    • gluPickMatrix

      public static void gluPickMatrix(float x, float y, float width, float height, IntBuffer viewport)
      Method gluPickMatrix
      Parameters:
      x -
      y -
      width -
      height -
      viewport -
    • gluGetString

      public static String gluGetString(int name)
      Method gluGetString.
      Parameters:
      name -
      Returns:
      String
    • gluCheckExtension

      public static boolean gluCheckExtension(String extName, String extString)
      Method gluCheckExtension.
      Parameters:
      extName -
      extString -
      Returns:
      boolean
    • gluBuild2DMipmaps

      public static int gluBuild2DMipmaps(int target, int components, int width, int height, int format, int type, ByteBuffer data)
      Method gluBuild2DMipmaps
      Parameters:
      target -
      components -
      width -
      height -
      format -
      type -
      data -
      Returns:
      int
    • gluScaleImage

      public static int gluScaleImage(int format, int widthIn, int heightIn, int typeIn, ByteBuffer dataIn, int widthOut, int heightOut, int typeOut, ByteBuffer dataOut)
      Method gluScaleImage.
      Parameters:
      format -
      widthIn -
      heightIn -
      typeIn -
      dataIn -
      widthOut -
      heightOut -
      typeOut -
      dataOut -
      Returns:
      int
    • gluErrorString

      public static String gluErrorString(int error_code)
    • gluNewTess

      public static GLUtessellator gluNewTess()