Searched refs:changeAmnt (Results 1 – 5 of 5) sorted by relevance
/external/jmonkeyengine/engine/src/core/com/jme3/math/ |
D | ColorRGBA.java | 287 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()
|
D | Vector4f.java | 785 public Vector4f interpolate(Vector4f finalVec, float changeAmnt) { 786 this.x=(1-changeAmnt)*this.x + changeAmnt*finalVec.x; 787 this.y=(1-changeAmnt)*this.y + changeAmnt*finalVec.y; 788 this.z=(1-changeAmnt)*this.z + changeAmnt*finalVec.z; 789 this.w=(1-changeAmnt)*this.w + changeAmnt*finalVec.w; 801 public Vector4f interpolate(Vector4f beginVec,Vector4f finalVec, float changeAmnt) { 802 this.x=(1-changeAmnt)*beginVec.x + changeAmnt*finalVec.x; 803 this.y=(1-changeAmnt)*beginVec.y + changeAmnt*finalVec.y; 804 this.z=(1-changeAmnt)*beginVec.z + changeAmnt*finalVec.z; 805 this.w=(1-changeAmnt)*beginVec.w + changeAmnt*finalVec.w;
|
D | Vector2f.java | 241 public Vector2f interpolate(Vector2f finalVec, float changeAmnt) { in interpolate() argument 242 this.x = (1 - changeAmnt) * this.x + changeAmnt * finalVec.x; in interpolate() 243 this.y = (1 - changeAmnt) * this.y + changeAmnt * finalVec.y; in interpolate() 260 float changeAmnt) { in interpolate() argument 261 this.x = (1 - changeAmnt) * beginVec.x + changeAmnt * finalVec.x; in interpolate() 262 this.y = (1 - changeAmnt) * beginVec.y + changeAmnt * finalVec.y; in interpolate()
|
D | Vector3f.java | 836 public Vector3f interpolate(Vector3f finalVec, float changeAmnt) { 837 this.x=(1-changeAmnt)*this.x + changeAmnt*finalVec.x; 838 this.y=(1-changeAmnt)*this.y + changeAmnt*finalVec.y; 839 this.z=(1-changeAmnt)*this.z + changeAmnt*finalVec.z; 851 public Vector3f interpolate(Vector3f beginVec,Vector3f finalVec, float changeAmnt) { 852 this.x=(1-changeAmnt)*beginVec.x + changeAmnt*finalVec.x; 853 this.y=(1-changeAmnt)*beginVec.y + changeAmnt*finalVec.y; 854 this.z=(1-changeAmnt)*beginVec.z + changeAmnt*finalVec.z;
|
D | Quaternion.java | 686 public void slerp(Quaternion q2, float changeAmnt) { in slerp() argument 705 float scale0 = 1 - changeAmnt; in slerp() 706 float scale1 = changeAmnt; in slerp() 718 scale0 = FastMath.sin((1 - changeAmnt) * theta) * invSinTheta; in slerp() 719 scale1 = FastMath.sin((changeAmnt * theta)) * invSinTheta; in slerp()
|