Package net.sourceforge.fo3d.util

Examples of net.sourceforge.fo3d.util.Vector3.sub()


                        // Fallback solution, we can compute the direction with
                        // a given target vector and the position.
                        dir = DOMUtil.get3DVectorAttribute(camera, "target");
                        if (dir != null) {
                            // compute direction
                            dir.sub(pos);
                            // set distance to center of orbit
                            view.setCameraDistanceFromCenterOfOrbit(dir
                                .length());
                        } else {
                            if (log.isErrorEnabled()) {
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.