Package org.mt4j.util.math

Examples of org.mt4j.util.math.Vertex.transformDirectionVector()


  }
 
  public float getLengthRelativeToParent() {
    Vertex[] v = this.getVerticesLocal();
    Vertex lengthVect = (Vertex)v[1].getSubtracted(v[0]);
    lengthVect.transformDirectionVector(this.getLocalMatrix());
    return lengthVect.length();
  }
 
  public float getLengthLocal(){
    Vertex[] v = this.getVerticesLocal();
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.