Package org.spout.vanilla.material.map

Examples of org.spout.vanilla.material.map.MapColor


    // Generate new Color Palette
    int r, g, b;
    float rf, gf, bf;
    double diff, nearestDiff;
    MapColor nearest = null;
    for (r = 0; r < 256; r++) {
      rf = (float) r / 255f;
      for (g = 0; g < 256; g++) {
        gf = (float) g / 255f;
        for (b = 0; b < 256; b++) {
View Full Code Here

TOP

Related Classes of org.spout.vanilla.material.map.MapColor

Copyright © 2018 www.massapicom. 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.