Package soc.qase.tools.vecmath

Examples of soc.qase.tools.vecmath.Vector3f.normalize()


/*-------------------------------------------------------------------*/
  private Vector3f getEndpoint(Vector3f start, Vector3f dir, float maxDist)
  {
    Vector3f end = new Vector3f(dir);

    end.normalize();
    end.scale(maxDist);
    end.add(start);

    return end;
  }
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.