Home
last modified time | relevance | path

Searched refs:finalColor (Results 1 – 1 of 1) sorted by relevance

/external/jmonkeyengine/engine/src/core/com/jme3/math/
DColorRGBA.java287 public void interpolate(ColorRGBA finalColor, float changeAmnt) { in interpolate() argument
288 this.r = (1 - changeAmnt) * this.r + changeAmnt * finalColor.r; in interpolate()
289 this.g = (1 - changeAmnt) * this.g + changeAmnt * finalColor.g; in interpolate()
290 this.b = (1 - changeAmnt) * this.b + changeAmnt * finalColor.b; in interpolate()
291 this.a = (1 - changeAmnt) * this.a + changeAmnt * finalColor.a; in interpolate()
302 public void interpolate(ColorRGBA beginColor, ColorRGBA finalColor, float changeAmnt) { in interpolate() argument
303 this.r = (1 - changeAmnt) * beginColor.r + changeAmnt * finalColor.r; in interpolate()
304 this.g = (1 - changeAmnt) * beginColor.g + changeAmnt * finalColor.g; in interpolate()
305 this.b = (1 - changeAmnt) * beginColor.b + changeAmnt * finalColor.b; in interpolate()
306 this.a = (1 - changeAmnt) * beginColor.a + changeAmnt * finalColor.a; in interpolate()