Package org.nlogo.api

Examples of org.nlogo.api.Matrix3D.transform()


            double[] leaf = ((Protractor3D) (world3D.protractor())).towardsVector
                (root.xcor(), root.ycor(), root.zcor(),
                    t.xcor(), t.ycor(), t.zcor(), true);
            htrans.transform(leaf, out, 1);
            ptrans.transform(out, out, 1);
            rtrans.transform(out, out, 1);
            double nx = t.xcor + (out[0] - leaf[0]);
            double ny = t.ycor + (out[1] - leaf[1]);
            double nz = t.zcor + (out[2] - leaf[2]);

            Set<Turtle3D> snapshot = seenTurtles;
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.