Class ArcBall

java.lang.Object
one.empty3.library.ArcBall

public class ArcBall extends Object
  • Constructor Details

    • ArcBall

      public ArcBall()
  • Method Details

    • glhProjectf

      public int glhProjectf(float objx, float objy, float objz, float[] modelview, float[] projection, int[] viewport, Point3D a)
    • glhUnProjectf

      public int glhUnProjectf(float winx, float winy, float winz, float[] modelview, float[] projection, int[] viewport, float[] objectCoordinate)
    • MultiplyMatrices4by4OpenGL_FLOAT

      public void MultiplyMatrices4by4OpenGL_FLOAT(float[] result, float[] matrix1, float[] matrix2)
    • MultiplyMatrixByVector4by4OpenGL_FLOAT

      public void MultiplyMatrixByVector4by4OpenGL_FLOAT(float[] resultvector, float[] matrix, float[] pvector)
    • SWAP_ROWS_DOUBLE

      public void SWAP_ROWS_DOUBLE(double[] a, double[] b)
    • SWAP_ROWS_FLOAT

      public void SWAP_ROWS_FLOAT(float[] a, float[] b)
    • MAT0

      public float MAT0(float[] m, int r, int c)
    • MAT

      public void MAT(float[] m, int r, int c, float value)
    • glhInvertMatrixf2

      public int glhInvertMatrixf2(float[] m, float[] out)
    • arcball_setzoom

      public void arcball_setzoom(double radius, Point3D eye, Point3D up)
    • quaternion

      public static void quaternion(Double[] q, Double x, Double y, Double z, Double w)
    • quatidentity

      public static void quatidentity(Double[] q)
    • quatcopy

      public static void quatcopy(Double[] dst, Double[] src)
    • quatnext

      public static void quatnext(Double[] dest, Double[] left, Double[] right)
    • edge_coords

      public Point3D edge_coords(Point3D m)
    • sphere_coords

      public Point3D sphere_coords(float mx, float my)
    • planar_coords

      public Point3D planar_coords(float mx, float my)
    • gluUnProject

      public int gluUnProject(float mx, float my, int mz, float[] ab_glm, float[] ab_glp, int[] ab_glv, Point3D a)
    • arcball_init

      public void arcball_init(Representable representable)
    • arcball_reset

      public void arcball_reset(Representable representable)
    • arcball_start

      public void arcball_start(int mx, int my)
    • arcball_move

      public void arcball_move(int mx, int my)