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:
euzuro
2006-05-16 18:13:31 +00:00
parent 9d00e3830f
commit 3948a4d5a3

View File

@@ -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();