Package nexus.model.structs

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


 
  @Test
  public void testToArray() {
    Vector3 a = new Vector3(3f, -1f, 0f);
   
    assertEquals(true, Arrays.equals(a.toArray(), new float[] { 3f, -1f, 0f }));
  }
 
  @Test
  public void testCombined() {
    Vector3 a = new Vector3(0f, 1f, 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.