Package com.jme3.math

Examples of com.jme3.math.Vector2f.divideLocal()


            // + "-----------------");
            cPt.set(0, 0, 0);
            if ((c.size() / 3) > 4) {
                for (int i = 0; i < c.size(); i += 3)
                    cPt.addLocal(c.get(i), c.get(i + 1), c.get(i + 2));
                cPt.divideLocal(c.size() / 3);
                c.add(c.get(0));
                c.add(c.get(1));
                c.add(c.get(2));
                c.add(0, cPt.z);
                c.add(0, cPt.y);
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.