All pastes #2091734 Raw Edit

Stuff

public text v1 · immutable
#2091734 ·published 2011-10-20 11:29 UTC
rendered paste body
virtual bool operator==(const Node* other) const {
	if (this == other)
		return true;
	const EuclideanNode* enode = dynamic_cast<const EuclideanNode*>(other);
	if (!enode)
		return false;
	return enode->x == x && enode->y == y && enode->z == z;
}