Examples of slerpLocal()


Examples of com.ardor3d.math.Quaternion.slerpLocal()

        assert (null != to) : "parameter 'to' can not be null";
        assert (null != caller) : "parameter 'caller' can not be null";

        final Quaternion tempQuat = Quaternion.fetchTempInstance();

        tempQuat.slerpLocal(from, to, delta);

        if (isLocalRotation()) {
            caller.setRotation(tempQuat);
        } else {
            caller.setWorldRotation(tempQuat);
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.