Photon Fusion
2.0.8
LagCompensated Extension methods More...
Static Public Member Functions | |
| static void | SortDistance (this List< LagCompensatedHit > hits) |
| Sorts all hits in ascending order of LagCompensatedHit.Distance. More... | |
| static void | SortReference (this List< LagCompensatedHit > hits, Vector3 reference) |
| Sorts all hits in ascending order of distance from LagCompensatedHit.Point to the reference point. More... | |
LagCompensated Extension methods
|
static |
Sorts all hits in ascending order of LagCompensatedHit.Distance.
| hits | List containing hits to be sorted. |
| NullReferenceException | If hits are null. |
|
static |
Sorts all hits in ascending order of distance from LagCompensatedHit.Point to the reference point.
| hits | List containing hits to be sorted. |
| reference | Used as reference point to compute distance from hit points. |
| NullReferenceException | If hits are null. |