forked from mirror/DotRecast
reorder variable declarations
This commit is contained in:
parent
990dbcf97f
commit
eccce01cff
|
@ -29,9 +29,6 @@ namespace DotRecast.Recast
|
||||||
|
|
||||||
public static class RcLayers
|
public static class RcLayers
|
||||||
{
|
{
|
||||||
const int RC_MAX_LAYERS = RcRecast.RC_NOT_CONNECTED;
|
|
||||||
const int RC_MAX_NEIS = 16;
|
|
||||||
|
|
||||||
private static void AddUnique(List<int> a, int v)
|
private static void AddUnique(List<int> a, int v)
|
||||||
{
|
{
|
||||||
if (!a.Contains(v))
|
if (!a.Contains(v))
|
||||||
|
|
|
@ -50,6 +50,11 @@ namespace DotRecast.Recast
|
||||||
/// @see rcSpanPool
|
/// @see rcSpanPool
|
||||||
public const int RC_SPANS_PER_POOL = 2048;
|
public const int RC_SPANS_PER_POOL = 2048;
|
||||||
|
|
||||||
|
// Must be 255 or smaller (not 256) because layer IDs are stored as
|
||||||
|
// a byte where 255 is a special value.
|
||||||
|
public const int RC_MAX_LAYERS = RC_NOT_CONNECTED;
|
||||||
|
public const int RC_MAX_NEIS = 16;
|
||||||
|
|
||||||
/// Heighfield border flag.
|
/// Heighfield border flag.
|
||||||
/// If a heightfield region ID has this bit set, then the region is a border
|
/// If a heightfield region ID has this bit set, then the region is a border
|
||||||
/// region and its spans are considered unwalkable.
|
/// region and its spans are considered unwalkable.
|
||||||
|
|
Loading…
Reference in New Issue