Example #1
0
 /**
  * Method gluUnproject
  *
  * @param winx
  * @param winy
  * @param winz
  * @param modelMatrix
  * @param projMatrix
  * @param viewport
  * @param obj_pos
  */
 public static boolean gluUnProject(
     float winx,
     float winy,
     float winz,
     FloatBuffer modelMatrix,
     FloatBuffer projMatrix,
     IntBuffer viewport,
     FloatBuffer obj_pos) {
   return Project.gluUnProject(winx, winy, winz, modelMatrix, projMatrix, viewport, obj_pos);
 }
Example #2
0
 /**
  * Method gluProject
  *
  * @param objx
  * @param objy
  * @param objz
  * @param modelMatrix
  * @param projMatrix
  * @param viewport
  * @param win_pos
  */
 public static boolean gluProject(
     float objx,
     float objy,
     float objz,
     FloatBuffer modelMatrix,
     FloatBuffer projMatrix,
     IntBuffer viewport,
     FloatBuffer win_pos) {
   return Project.gluProject(objx, objy, objz, modelMatrix, projMatrix, viewport, win_pos);
 }
Example #3
0
  /**
   * Method gluLookAt
   *
   * @param eyex
   * @param eyey
   * @param eyez
   * @param centerx
   * @param centery
   * @param centerz
   * @param upx
   * @param upy
   * @param upz
   */
  public static void gluLookAt(
      float eyex,
      float eyey,
      float eyez,
      float centerx,
      float centery,
      float centerz,
      float upx,
      float upy,
      float upz) {

    Project.gluLookAt(eyex, eyey, eyez, centerx, centery, centerz, upx, upy, upz);
  }
Example #4
0
  /**
   * Method gluPickMatrix
   *
   * @param x
   * @param y
   * @param width
   * @param height
   * @param viewport
   */
  public static void gluPickMatrix(
      float x, float y, float width, float height, IntBuffer viewport) {

    Project.gluPickMatrix(x, y, width, height, viewport);
  }
Example #5
0
  /**
   * Method gluPerspective
   *
   * @param fovy
   * @param aspect
   * @param zNear
   * @param zFar
   */
  public static void gluPerspective(float fovy, float aspect, float zNear, float zFar) {

    Project.gluPerspective(fovy, aspect, zNear, zFar);
  }