Package nexus.model.structs

Examples of nexus.model.structs.Vector3.lengthSquared()


  @Test
  public void testLengthSquared() {
    Vector3 a = new Vector3(1f, 2f, 2f);
   
    assertEquals(9f, a.lengthSquared(), 0);
  }

  @Test
  public void testScale() {
    Vector3 a = new Vector3(1f, 2f, -2f);
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.