Package mikera.matrixx

Examples of mikera.matrixx.Matrix33.innerProduct()


    double angle=0.5*Math.PI;
   
    Matrix33 rotM = Matrixx.createRotationMatrix(axis, angle);
    Vector4 rotQ = Quaternions.axisAngle(axis, angle);
   
    Vector3 mv=rotM.innerProduct(v);
    Vector3 qv=Quaternions.rotate(rotQ, v);
   
    assertEquals(mv,qv);
    assertTrue(mv.epsilonEquals(qv));
  }
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.