Dungeon Architect  17.0.0
SharpNav.Collections.BVTree.Node.CompareX Class Reference

An IComparer<T> implementation that only compares two Nodes on the X axis. More...

Inheritance diagram for SharpNav.Collections.BVTree.Node.CompareX:

Public Member Functions

int Compare (Node x, Node y)
 Compares two nodes's bounds on the X axis. More...
 

Detailed Description

An IComparer<T> implementation that only compares two Nodes on the X axis.

Definition at line 211 of file BVTree.cs.

Member Function Documentation

◆ Compare()

int SharpNav.Collections.BVTree.Node.CompareX.Compare ( Node  x,
Node  y 
)

Compares two nodes's bounds on the X axis.

Parameters
xA node.
yAnother node.
Returns
A negative value if a is less than b; 0 if they are equal; a positive value of a is greater than b.

Definition at line 219 of file BVTree.cs.


The documentation for this class was generated from the following file: