| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 2 | 2 | 1 | 0.977 | ExpressionStatement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 2 | 70 | Closure/closure/goog/math/coordinate3.js |
| 2 | 2 | 121 | Closure/closure/goog/math/vec3.js |
| ||||
/**
* Returns a new copy of the coordinate.
*
* @return {goog.math.Coordinate3} A clone of this coordinate.
*/
goog.math.Coordinate3.prototype.clone= function ( )
{
return new goog.math.Coordinate3(this.x, this.y, this.z);
} ;
|
| ||||
/**
* Creates a new copy of this Vec3.
*
* @return {goog.math.Vec3} A new vector with the same coordinates as this one.
*/
goog.math.Vec3.prototype.clone= function ( )
{
return new goog.math.Vec3(this.x, this.y, this.z);
} ;
|
| |||
/**
* Returns a new copy of the coordinate.
*
* @return {goog.math.Coordinate3} A clone of this coordinate.
*/
/**
* Creates a new copy of this Vec3.
*
* @return {goog.math.Vec3} A new vector with the same coordinates as this one.
*/
goog.math. [[#variable634a31e0]].prototype.clone= function ( )
{ return new goog.math. [[#variable634a31e0]](this.x,this.y,this.z);
} ;
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#634a31e0]] | Coordinate3 |
| 1 | 2 | [[#634a31e0]] | Vec3 |