Package org.spout.math.vector

Examples of org.spout.math.vector.Vector4f.mul()


        weightedSun = dawnColor;
      } else {
        float dawnWeight = y / sunSize;
        weightedSun = sunColor.mul(dawnWeight).add(dawnColor.mul(1 - dawnWeight));
      }
      skyColor = weightedSun.mul(sunWeight).add(moonColor.mul((1 - sunWeight)));
    } else {
      if (y < 0) {
        sunWeight = 0;
        skyColor = moonColor;
      } else {
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.