Examples of Z()


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

        worldPos = Vector4.createPoint3D(v.x(), v.y(), v.z());
        screenPos = prj.project(worldPos);
        PointData p2 = new PointData(worldPos, screenPos, v);

        v = f.getVertex(2);
        worldPos = Vector4.createPoint3D(v.x(), v.y(), v.z());
        screenPos = prj.project(worldPos);
        PointData p3 = new PointData(worldPos, screenPos, v);

        drawFace(g, p1, p2, p3, f);
      }
View Full Code Here

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

    // Draw visible faces
    if (enableVisibleFaces) {
      for (int i = 0; i < visibleFacesArray.length; i++) {
        HullFace f = visibleFacesArray[i];
        HullVertex v = f.getVertex(0);
        Vector4 worldPos = Vector4.createPoint3D(v.x(), v.y(), v.z());
        Vector4 screenPos = prj.project(worldPos);
        PointData p1 = new PointData(worldPos, screenPos, v);

        v = f.getVertex(1);
        worldPos = Vector4.createPoint3D(v.x(), v.y(), v.z());
View Full Code Here

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

        Vector4 worldPos = Vector4.createPoint3D(v.x(), v.y(), v.z());
        Vector4 screenPos = prj.project(worldPos);
        PointData p1 = new PointData(worldPos, screenPos, v);

        v = f.getVertex(1);
        worldPos = Vector4.createPoint3D(v.x(), v.y(), v.z());
        screenPos = prj.project(worldPos);
        PointData p2 = new PointData(worldPos, screenPos, v);

        v = f.getVertex(2);
        worldPos = Vector4.createPoint3D(v.x(), v.y(), v.z());
View Full Code Here

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

        worldPos = Vector4.createPoint3D(v.x(), v.y(), v.z());
        screenPos = prj.project(worldPos);
        PointData p2 = new PointData(worldPos, screenPos, v);

        v = f.getVertex(2);
        worldPos = Vector4.createPoint3D(v.x(), v.y(), v.z());
        screenPos = prj.project(worldPos);
        PointData p3 = new PointData(worldPos, screenPos, v);

        drawFace(g, p1, p2, p3, f);
      }
View Full Code Here

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

    // Draw hidden edges
    if (enableHiddenEdges) {
      for (int i = 0; i < hiddenEdgesArray.length; i++) {
        HullEdge e = hiddenEdgesArray[i];
        HullVertex v = e.getEndPoint(0);
        Vector4 worldPos = Vector4.createPoint3D(v.x(), v.y(), v.z());
        Vector4 screenPos = prj.project(worldPos);
        PointData p1 = new PointData(worldPos, screenPos, v);

        v = e.getEndPoint(1);
        worldPos = Vector4.createPoint3D(v.x(), v.y(), v.z());
View Full Code Here

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

        Vector4 worldPos = Vector4.createPoint3D(v.x(), v.y(), v.z());
        Vector4 screenPos = prj.project(worldPos);
        PointData p1 = new PointData(worldPos, screenPos, v);

        v = e.getEndPoint(1);
        worldPos = Vector4.createPoint3D(v.x(), v.y(), v.z());
        screenPos = prj.project(worldPos);
        PointData p2 = new PointData(worldPos, screenPos, v);

        drawEdge(g, p1, p2, e, false);
      }
View Full Code Here

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

    // Draw visible hull edges
    if (enableVisibleEdges) {
      for (int i = 0; i < visibleEdgesArray.length; i++) {
        HullEdge e = visibleEdgesArray[i];
        HullVertex v = e.getEndPoint(0);
        Vector4 worldPos = Vector4.createPoint3D(v.x(), v.y(), v.z());
        Vector4 screenPos = prj.project(worldPos);
        PointData p1 = new PointData(worldPos, screenPos, v);

        v = e.getEndPoint(1);
        worldPos = Vector4.createPoint3D(v.x(), v.y(), v.z());
View Full Code Here

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

        Vector4 worldPos = Vector4.createPoint3D(v.x(), v.y(), v.z());
        Vector4 screenPos = prj.project(worldPos);
        PointData p1 = new PointData(worldPos, screenPos, v);

        v = e.getEndPoint(1);
        worldPos = Vector4.createPoint3D(v.x(), v.y(), v.z());
        screenPos = prj.project(worldPos);
        PointData p2 = new PointData(worldPos, screenPos, v);

        drawEdge(g, p1, p2, e, true);
      }
View Full Code Here

Examples of net.minecraft.server.WorldServer.z()

    WorldServer world = CommonNMS.getNative(chunk.getWorld());
    Block typeBlock = CommonNMS.getBlock(type);
    if (result) {
      result = ChunkRef.setBlock(Conversion.toChunkHandle.convert(chunk), x, y, z, typeBlock, data);
            world.methodProfiler.a("checkLight");
            world.z(x, y, z);
            world.methodProfiler.b();
    }
    if (result) {
      world.applyPhysics(x, y, z, typeBlock);
    }
View Full Code Here

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

        //Clamp Hack to avoid nodes to be outside octree
        float quantum = size / 2;
        Node node = nodeModel.getNode();
        float x = node.x();
        float y = node.y();
        float z = node.z();
        if (x > root.posX + quantum) {
            node.setX(root.posX + quantum);
        } else if (x < root.posX - quantum) {
            node.setX(root.posX - quantum);
        }
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.