Package com.jme.renderer

Examples of com.jme.renderer.ColorRGBA.interpolate()


        if (i == color.length - 1) {
            setSolidColor(color[i]);
        } else {
            float percentColor = (1 / step) * (this.percent - (i * step));
            ColorRGBA c = new ColorRGBA();
            c.interpolate(color[i], color[i + 1], percentColor);
            setSolidColor(c);
        }
    }

    private void initTriMesh() {
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.