Examples of multvector()


Examples of org.earth3d.jearth.math.Matrix.multvector()

        nav.stopAutoNavigation();

        Matrix mMatrix = new Matrix(matrix);

        setViewer(mMatrix.multvector(nav.viewer));

        nav.setDirection(mMatrix.multvector(nav.getDirection()));
        nav.setUp(mMatrix.multvector(nav.getUp()));

        old_sd = sd;
View Full Code Here

Examples of org.earth3d.jearth.math.Matrix.multvector()

        Matrix mMatrix = new Matrix(matrix);

        setViewer(mMatrix.multvector(nav.viewer));

        nav.setDirection(mMatrix.multvector(nav.getDirection()));
        nav.setUp(mMatrix.multvector(nav.getUp()));

        old_sd = sd;

        updateScreen();
View Full Code Here

Examples of org.earth3d.jearth.math.Matrix.multvector()

        Matrix mMatrix = new Matrix(matrix);

        setViewer(mMatrix.multvector(nav.viewer));

        nav.setDirection(mMatrix.multvector(nav.getDirection()));
        nav.setUp(mMatrix.multvector(nav.getUp()));

        old_sd = sd;

        updateScreen();
View Full Code Here

Examples of org.earth3d.jearth.math.Matrix.multvector()

    Quaternion quat = new Quaternion();
    quat.createFromAxisAngle((float) direction.x, (float) direction.y, (float) direction.z, angle);
    quat.createMatrix(matrix);
    Matrix mMatrix = new Matrix(matrix);
   
    up = mMatrix.multvector(up);
  }

  void rotateLeftRight(float angle) {
    stopAutoNavigation();
View Full Code Here

Examples of org.earth3d.jearth.math.Matrix.multvector()

    Quaternion quat = new Quaternion();
    quat.createFromAxisAngle((float) up.x, (float) up.y, (float) up.z, angle);
    quat.createMatrix(matrix);
    Matrix mMatrix = new Matrix(matrix);
   
    direction = mMatrix.multvector(direction);
  }

  void rotateOnSurface(float angle) {
    stopAutoNavigation();
View Full Code Here

Examples of org.earth3d.jearth.math.Matrix.multvector()

    quat.createFromAxisAngle((float) viewnorm.x, (float) viewnorm.y, (float) viewnorm.z, angle);
    quat.createMatrix(matrix);
    Matrix mMatrix = new Matrix(matrix);
   
    direction = mMatrix.multvector(direction);
    up = mMatrix.multvector(up);
  }

  void elevate(float angle) {
    stopAutoNavigation();
View Full Code Here

Examples of org.earth3d.jearth.math.Matrix.multvector()

    quat.createFromAxisAngle((float) viewnorm.x, (float) viewnorm.y, (float) viewnorm.z, angle);
    quat.createMatrix(matrix);
    Matrix mMatrix = new Matrix(matrix);
   
    direction = mMatrix.multvector(direction);
    up = mMatrix.multvector(up);
  }

  void elevate(float angle) {
    stopAutoNavigation();
View Full Code Here

Examples of org.earth3d.jearth.math.Matrix.multvector()

    Quaternion quat = new Quaternion();
    quat.createFromAxisAngle((float) upxdir.x, (float) upxdir.y, (float) upxdir.z, angle);
    quat.createMatrix(matrix);
   
    Matrix mMatrix = new Matrix(matrix);
    direction = mMatrix.multvector(direction);
    up = mMatrix.multvector(up);
  }

  void elevateUp(float factor) {
    stopAutoNavigation();
View Full Code Here

Examples of org.earth3d.jearth.math.Matrix.multvector()

    quat.createFromAxisAngle((float) upxdir.x, (float) upxdir.y, (float) upxdir.z, angle);
    quat.createMatrix(matrix);
   
    Matrix mMatrix = new Matrix(matrix);
    direction = mMatrix.multvector(direction);
    up = mMatrix.multvector(up);
  }

  void elevateUp(float factor) {
    stopAutoNavigation();
View Full Code Here

Examples of org.earth3d.jearth.math.Matrix.multvector()

    quat.createFromAxisAngle((float) norm.x, (float) norm.y, (float) norm.z, 90);
    quat.createMatrix(matrix);
   
    Matrix mMatrix = new Matrix(matrix);
    Point3D strafedirection = mMatrix.multvector(direction);

    viewer = viewer.add(strafedirection.multiply(factor).multiply(viewer.length()-1));
  }

  void forwardOnSurface(float factor) {
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.