Examples of solve33()


Examples of org.jbox2d.common.Mat33.solve33()

    mat.ex.set(3, 19, -5);
    mat.ey.set(-1, 1, 4);
    mat.ez.set(-10, 4, 4);

    Vec3 b = new Vec3(4, 1, 2);
    assertEquals(new Vec3(0.096f, 1.1013334f, -.48133332f), mat.solve33(b));

    Vec2 b2 = new Vec2(4, 1);
    assertEquals(new Vec2(0.22727273f, -3.318182f), mat.solve22(b2));
  }
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.