Examples of ortho()


Examples of fmg.fmg8.umgebung2D.Vektor2D.ortho()

        Vektor2D normEnd = new Vektor2D(punkte.get(punkte.size() - 1));
        Vektor2D orthoEnd;
        normEnd.sub(punkte.get(punkte.size() - 2));
        normEnd.normal();
        orthoEnd = new Vektor2D(normEnd);
        orthoEnd.ortho();

        Iterator<Vektor2D> it2 = pfeilEnde.iterator();
       
        while (it2.hasNext()) {
            aktVek = it2.next();
View Full Code Here

Examples of fmg.fmg8.umgebung2D.Vektor2D.ortho()

                    norm = new Vektor2D(letzte[j].x, letzte[j].y);
                    norm.sub(new Vektor2D(
                            rob.getPosition().x,
                            rob.getPosition().y));
                    norm.ortho();
                    norm.normal();
                   
                    lang = rob.getFitSum();
                   
                    if (lang <= 0) {
View Full Code Here

Examples of processing.core.PGraphics.ortho()

    // System.out.println(currentWorldTransform.origin.x);
    PGraphics saveImg = GLOBAL.applet.createGraphics((int) width,
        (int) height, PConstants.P3D);
    saveImg.beginDraw();
    saveImg.ortho(-(width / 2), (width / 2), -(height / 2), (height / 2),
        -1000, 10000);
    //saveImg.hint(PApplet.DISABLE_STROKE_PERSPECTIVE);

    saveImg.ambientLight(200, 200, 200);
    saveImg.directionalLight(69, 69, 69, 0, 0, -1);
View Full Code Here

Examples of processing.core.PGraphics.ortho()

      //sunflow.setDiffuseShader();
    }
*/
    diagramImg.beginDraw();
    //diagramImg.background(255,255,255,1);
    diagramImg.ortho(-(w / 2), (w / 2), -(h / 2), (h / 2), -1000, 10000);
    //diagramImg.hint(PApplet.DISABLE_STROKE_PERSPECTIVE);

    diagramImg.pushMatrix();
    diagramImg.smooth(8);

View Full Code Here

Examples of processing.core.PGraphics.ortho()

    float height2 = Math.abs(maxY2 - minY2) + (imgBorder * 2);

    PGraphics saveImg = GLOBAL.applet.createGraphics((int) width,
        (int) height, PConstants.P3D);
    saveImg.beginDraw();
    saveImg.ortho(-(width / 2), (width / 2), -(height / 2), (height / 2),
        -1000, 10000);
    //saveImg.hint(PApplet.DISABLE_STROKE_PERSPECTIVE);

    saveImg.smooth(8);
    saveImg.pushMatrix();
View Full Code Here

Examples of processing.core.PGraphics.ortho()

    }else{
    renderer.ortho(-(int)(width / 2), (int)(width / 2), -(int)(height / 2), (int)(height / 2),
        -1000, 10000);
    }
    */
      renderer.ortho(-(int)(width / 2), (int)(width / 2), -(int)(height / 2), (int)(height / 2),
          -10000, 10000);
      //renderer.hint(PApplet.DISABLE_STROKE_PERSPECTIVE);

     //frustum();
    //camera();
View Full Code Here

Examples of processing.core.PGraphics.ortho()

    // gSun.camera();

    gSun.loadPixels();
    gSun.beginDraw();
    gSun.ortho(-(width / 2), (width / 2), -(height / 2), (height / 2),
        -1000, 10000);

    applyWorldTranslation(gSun);
    GLOBAL.sketchChairs.render(gSun);
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.