示例#1
0
 public SpatialHash(int cellSize = 100)
 {
     _cellSize        = cellSize;
     _inverseCellSize = 1f / _cellSize;
     _raycastParser   = new RaycastResultParser();
 }
示例#2
0
		public SpatialHash( int cellSize = 100 )
		{
			_cellSize = cellSize;
			_inverseCellSize = 1f / _cellSize;
			_raycastParser = new RaycastResultParser();
		}