Examples of multX()


Examples of processing.core.PMatrix3D.multX()

    synchronized (this) {
      PMatrix3D invMatrix = new PMatrix3D();
      invMatrix.apply(matrix);
      invMatrix.invert();

      float originalCenterX = invMatrix.multX(transformationCenter.x, transformationCenter.y);
      float originalCenterY = invMatrix.multY(transformationCenter.x, transformationCenter.y);

      matrix = new PMatrix3D();
      matrix.translate(transformationCenter.x, transformationCenter.y);
      matrix.scale(scale);
View Full Code Here

Examples of processing.core.PMatrix3D.multX()

    synchronized (this) {
      PMatrix3D invMatrix = new PMatrix3D();
      invMatrix.apply(innerMatrix);
      invMatrix.invert();

      float originalCenterX = invMatrix.multX(innerTransformationCenter.x, innerTransformationCenter.y);
      float originalCenterY = invMatrix.multY(innerTransformationCenter.x, innerTransformationCenter.y);

      innerMatrix = new PMatrix3D();
      innerMatrix.translate(innerTransformationCenter.x, innerTransformationCenter.y);
      innerMatrix.scale(innerScale);
View Full Code Here

Examples of processing.core.PMatrix3D.multX()

  protected void calculateMatrix() {
    PMatrix3D invMatrix = new PMatrix3D();
    invMatrix.apply(matrix);
    invMatrix.invert();

    float originalCenterX = invMatrix.multX(transCenterX, transCenterY);
    float originalCenterY = invMatrix.multY(transCenterX, transCenterY);

    matrix = new PMatrix3D();
    matrix.translate(transCenterX, transCenterY);
    matrix.scale(scale);
View Full Code Here

Examples of processing.core.PMatrix3D.multX()

 
  public void doMatrix(float x, float y) {
    PMatrix3D invMatrix = new PMatrix3D();
    invMatrix.apply(matrix);
    invMatrix.invert();
    float oldX = invMatrix.multX(x, y);
    float oldY = invMatrix.multY(x, y);
   
    fill(255, 0, 0, 100);
    ellipse(oldX, oldY, 15, 15);
View Full Code Here

Examples of processing.core.PMatrix3D.multX()

    // the matrix is created anew.

    PMatrix3D invMatrix = new PMatrix3D();
    invMatrix.apply(matrix);
    invMatrix.invert();
    float origX = invMatrix.multX(x, y);
    float origY = invMatrix.multY(x, y);

    matrix = new PMatrix3D();
    matrix.translate(x, y);
    matrix.scale(scale);
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.