Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Edge.prototype.matchEdge = function (pEdge){
- //if the indexes match either way round
- return ((this.point0 == pEdge.point0
- && this.point1 == pEdge.point1)
- || (this.point0 == pEdge.point1
- && this.point1 == pEdge1.point0
- && this.vector == false))
- && this.weight == pEdge.weight;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement