Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 0 | 1.000 | StatementList[6] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 172 | Closure/closure/goog/math/bezier.js |
2 | 8 | 204 | Closure/closure/goog/math/bezier.js |
| ||||
// Step one - from 4 points to 3 var ix0= goog.math.lerp(this.x0, this.x1, t); var iy0= goog.math.lerp(this.y0, this.y1, t); var ix1= goog.math.lerp(this.x1, this.x2, t); var iy1= goog.math.lerp(this.y1, this.y2, t); var ix2= goog.math.lerp(this.x2, this.x3, t); var iy2= goog.math.lerp(this.y2, this.y3, t); |
| ||||
// Step one - from 4 points to 3 var ix0= goog.math.lerp(this.x0, this.x1, t); var iy0= goog.math.lerp(this.y0, this.y1, t); var ix1= goog.math.lerp(this.x1, this.x2, t); var iy1= goog.math.lerp(this.y1, this.y2, t); var ix2= goog.math.lerp(this.x2, this.x3, t); var iy2= goog.math.lerp(this.y2, this.y3, t); |
| |||
// Step one - from 4 points to 3 var ix0=goog.math.lerp(this.x0,this.x1,t); var iy0=goog.math.lerp(this.y0,this.y1,t); var ix1=goog.math.lerp(this.x1,this.x2,t); var iy1=goog.math.lerp(this.y1,this.y2,t); var ix2=goog.math.lerp(this.x2,this.x3,t); var iy2=goog.math.lerp(this.y2,this.y3,t); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |