Login   Register  
Icontem

Spatial Hash: Manage elements in a two dimension space

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 194 All time: 193 This week: 45Up
Version License JavaScript version Categories  
spatial-hash 1.0GNU General Public Lice...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
Age: ???
All time rank: 869 in United States United States
Week rank: 51 Up5 in United States United States Up

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

 Version Control Unique User Downloads Download Rankings  
 0%Total:194All time:193
 This week:0This week:45Up