Class GLU


  • public class GLU
    extends java.lang.Object
    GLU.java Created 23-dec-2003
    Author:
    Erik Duijs
    • Constructor Detail

      • GLU

        public GLU()
    • Method Detail

      • 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,
                                         java.nio.FloatBuffer modelMatrix,
                                         java.nio.FloatBuffer projMatrix,
                                         java.nio.IntBuffer viewport,
                                         java.nio.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,
                                           java.nio.FloatBuffer modelMatrix,
                                           java.nio.FloatBuffer projMatrix,
                                           java.nio.IntBuffer viewport,
                                           java.nio.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,
                                         java.nio.IntBuffer viewport)
        Method gluPickMatrix
        Parameters:
        x -
        y -
        width -
        height -
        viewport -
      • gluGetString

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

        public static boolean gluCheckExtension​(java.lang.String extName,
                                                java.lang.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,
                                            java.nio.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,
                                        java.nio.ByteBuffer dataIn,
                                        int widthOut,
                                        int heightOut,
                                        int typeOut,
                                        java.nio.ByteBuffer dataOut)
        Method gluScaleImage.
        Parameters:
        format -
        widthIn -
        heightIn -
        typeIn -
        dataIn -
        widthOut -
        heightOut -
        typeOut -
        dataOut -
        Returns:
        int
      • gluErrorString

        public static java.lang.String gluErrorString​(int error_code)