Examples of multvector()


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

      quat.createFromAxisAngle((float) axis.x, (float) axis.y, (float) axis.z, -1);
      quat.createMatrix(matrix);

      Matrix mMatrix = new Matrix(matrix);

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

//      nav.setViewer(nav.viewer-(nav.viewer.normalize()/6000.));
//      if (nav.viewer.length()<1) nav.viewer = nav.viewer.normalize();
      /* rotate around x */
 
View Full Code Here

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

      quat.createMatrix(matrix);

      Matrix mMatrix = new Matrix(matrix);

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

//      nav.setViewer(nav.viewer-(nav.viewer.normalize()/6000.));
//      if (nav.viewer.length()<1) nav.viewer = nav.viewer.normalize();
      /* rotate around x */
      nav.rotate(roll);
 
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.