Examples of X()


Examples of hype.core.interfaces.HDirectable.x()

    Iterator<HDirectable> it = _targets.iterator();
    for(int i=0; i<numTargets; ++i) {
      HDirectable target = it.next();
     
      float rot = target.rotationRad();
      float tx = target.x();
      float ty = target.y();
     
      float goalx = _idleGoalX;
      float goaly = _idleGoalY;
      float goalz = 0;
View Full Code Here

Examples of hype.core.interfaces.HLocatable.x()

      float goalx = _idleGoalX;
      float goaly = _idleGoalY;
      float goalz = 0;
      HLocatable goal = getGoal(target, app);
      if(goal != null) {
        goalx = goal.x();
        goaly = goal.y();
        goalz = goal.z();
      }
     
      // Get rotation that points towards the goal, plus easing
View Full Code Here

Examples of jmt.engine.graphic.Vector4.x()

  }

  public boolean isCoplanar(HullFace face) {
    Vector4 diff = this.normal.clone();
    diff.subSelf(face.normal);
    if (Math.abs(diff.x()) > COPLANAR_EPSILON
        || Math.abs(diff.y()) > COPLANAR_EPSILON
        || Math.abs(diff.z()) > COPLANAR_EPSILON) {
      return false;
    } else {
      return true;
View Full Code Here

Examples of jmt.engine.jaba.convexHull3d.HullVertex.x()

        if (hullEdgesSet.add(e)) {
        }
      }
      for (int j = 0; j < vertices.length; j++) {
        HullVertex v = vertices[j];
        Vector4 worldPos = Vector4.createPoint3D(v.x(), v.y(), v.z());
        Vector4 screenPos = prj.project(worldPos);
        PointData p = new PointData(worldPos, screenPos, v);
        if (isVisible) {
          visibleVerticesSet.add(p);
View Full Code Here

Examples of net.hearthstats.util.Coordinate.x()

      return false;
    }

    for (Pixel pixel : screen.primary) {
      Coordinate coordinate = pixelMap.get(pixel.pixelLocation);
      int x = coordinate.x();
      int y = coordinate.y();

      int rgb = image.getRGB(x, y);
      int red = (rgb >> 16) & 0xFF;
      int green = (rgb >> 8) & 0xFF;
View Full Code Here

Examples of net.machinemuse.numina.geometry.MusePoint2D.x()

            ClickableTinkerSlider slider = new ClickableTinkerSlider(
                    center,
                    border.right() - border.left() - 8,
                    moduleTag, tweak);
            sliders.add(slider);
            if (selectedSlider != null && slider.hitBox(center.x(), center.y())) {
                selectedSlider = slider;
            }
        }
    }
View Full Code Here

Examples of net.shadewind.racetrack.Vector2i.x()

 
  private void checkCrash(Client client)
  {
    Car car = cars.get(client);
    Vector2i position = car.getPosition();
    if (map.getBlockType(position.x(), position.y()) == '#') {
      deactivateClient(client);
      car.setCrashed(true);
      for (Client c : clients)
        c.carCrashed(client.getId());
    }
View Full Code Here

Examples of org.chasen.crfpp.Tagger.x()

    /**
     * get and refine tagged context
     */
    for (int i = 0; i < tagger.size(); ++i) {
      for (int j = 0; j < tagger.xsize(); ++j) {}
      taggedResult +=  tagger.x(i, 0) + "\t" + tagger.y2(i) + "\n"; //get filename:TokenId and predicted label
    }
    tagger.delete();
   
  return taggedResult;
  }
View Full Code Here

Examples of org.gephi.graph.api.Node.x()

        //Edge size
        float arrowWidth = ARROW_WIDTH * w * 2f;
        float arrowHeight = ARROW_HEIGHT * w * 2f;

        float x2 = nodeTo.x();
        float y2 = nodeTo.y();
        float x1 = nodeFrom.x();
        float y1 = nodeFrom.y();

        //Edge vector
View Full Code Here

Examples of org.gephi.graph.api.NodeData.x()

            if (nodeFrom.x() < centerX) {
                index1 += 1;
            }
        }

        if (!(Math.abs(nodeTo.x() - centerX) > size || Math.abs(nodeTo.y() - centerY) > size || Math.abs(nodeTo.z() - centerZ) > size)) {
            index2 = 0;

            //Point2
            if (nodeTo.y() < centerY) {
                index2 += 4;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.