Icontem

Spatial Hash: Manage elements in a two dimension space

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2011-11-15 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 207 All time: 221 This week: 57Up
Version License JavaScript version Categories
spatial-hash 1.0GNU General Publi...1.0Games, Algorithms
Description Author

This object can manage elements in a two dimension space.

It can create a two dimension space with cells of a given size.

The object can add (and remove) elements to it with given positions and dimensions.

It can also retrieve a list of elements that occupy at least partially cells of an area in a given position and dimension to determine if there are any elements that may collide with others if they try to occupy the same space.

Picture of Dino Gambone
Name: Dino Gambone <contact>
Classes: 1 package by
Country: United States United States

  Files folder image Files  
File Role Description
Plain text file SpatialHash.js Class Spatial Hash

 Version Control Unique User Downloads Download Rankings  
 0%
Total:207
This week:0
All time:221
This week:57Up