samePt() function never used and also duplicates functionality of equal() function
git-svn-id: http://svn.openlayers.org/trunk/openlayers@45 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -112,16 +112,6 @@ OpenLayers.Pixel.prototype = {
|
||||
*/
|
||||
addY:function(h) {
|
||||
return new OpenLayers.Pixel(this.x, this.y+h);
|
||||
},
|
||||
|
||||
/** returns whether or not the two points are equal
|
||||
*
|
||||
* @param {OpenLayers.Pixel} pt
|
||||
*
|
||||
* @return {bool}
|
||||
*/
|
||||
samePT:function(pt) {
|
||||
return ((this.x == pt.x) && (this.y == pt.y));
|
||||
}
|
||||
};
|
||||
OpenLayers.Size = Class.create();
|
||||
|
||||
Reference in New Issue
Block a user