Package com.ardor3d.math

Examples of com.ardor3d.math.ColorRGBA.lerpLocal()


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

        final ColorRGBA color = ColorRGBA.fetchTempInstance().set(caller.getDefaultColor());

        color.lerpLocal(from, to, (float) delta);

        caller.setDefaultColor(color);

        ColorRGBA.releaseTempInstance(color);
    }
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.