Package Hexel.math

Examples of Hexel.math.Vector2d


      new ResourcePool<ArrayList<MutableFloat>>((Class<ArrayList<MutableFloat>>) new ArrayList<MutableFloat>().getClass());

  public void genArrayList() {
    this.vertexData = vertexDataPool.aquire();

    Vector2d a = new Vector2d();
    Vector2d b = new Vector2d();
    Vector2d c = new Vector2d();
    Vector2d d = new Vector2d();

    Vector3i tmp = new Vector3i();

    Rect r = new Rect();
View Full Code Here


    return null;

  }

  public static void highlight(GL2 gl, Vector3i block, Face face) {
    Vector2d a = new Vector2d();
    Vector2d b = new Vector2d();
    Vector2d c = new Vector2d();

    int x = block.x;
    int y = block.y;
    int z = block.z;
    double px = Math.floor(x / 2.0);
View Full Code Here

    }
  }

  public GeneralPath getMenuItemPolygon(int index){
    GeneralPath polygon = new GeneralPath();
    Vector2d p = new Vector2d();
    int size = (int) Math.min(w/2/2-50, h/2.3333-50);
    double[] xs = MI_X[index];
    double[] ys = MI_Y[index];
    int cx = w*3/4;
    int cy = h/2;
View Full Code Here

TOP

Related Classes of Hexel.math.Vector2d

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.