Package org.mt4j.util.math

Examples of org.mt4j.util.math.Vector3D.crossLocal()


    planes[FARP].reconstruct(fc, Z);
   
    Vector3D aux,normal;

    aux = (nc.getAdded(yScaledNh)).subtractLocal(camPos);
    normal = aux.crossLocal(X);
    planes[TOP].reconstruct(nc.getAdded(yScaledNh), normal);

    aux = (nc.getSubtracted(yScaledNh)).subtractLocal(camPos);
    normal = X.getCross(aux);
    planes[BOTTOM].reconstruct(nc.getSubtracted(yScaledNh), normal);
View Full Code Here


    aux = (nc.getSubtracted(yScaledNh)).subtractLocal(camPos);
    normal = X.getCross(aux);
    planes[BOTTOM].reconstruct(nc.getSubtracted(yScaledNh), normal);
   
    aux = (nc.getSubtracted(xScaledNw)).subtractLocal(camPos);
    normal = aux.crossLocal(Y);
    planes[LEFT].reconstruct(nc.getSubtracted(xScaledNw), normal);

    aux = (nc.getAdded(xScaledNw)).subtractLocal(camPos);
    normal = Y.getCross(aux);
    planes[RIGHT].reconstruct(nc.getAdded(xScaledNw), normal);
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.