Package com.ardor3d.math

Examples of com.ardor3d.math.Vector3.zero()


            final Vector3 point = Vector3.fetchTempInstance();
            for (int i = 0, max = joints.length; i < max; i++) {
                SkeletalDebugger.jointText.setText(i + ". " + joints[i].getName());

                final Transform t = scene.getWorldTransform().multiply(globals[i], store);
                point.zero();
                SkeletalDebugger.jointText.setTranslation(Camera.getCurrentCamera().getScreenCoordinates(
                        t.applyForward(point)));

                final double size = SkeletalDebugger.LABEL_RATIO;
                SkeletalDebugger.jointText.setScale(size, size, -size);
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.