mirror of
https://github.com/vrld/HC.git
synced 2024-11-28 14:04:21 +00:00
1 line
7.7 KiB
JavaScript
1 line
7.7 KiB
JavaScript
Search.setIndex({envversion:46,filenames:["Class","MainModule","Polygon","Shapes","SpatialHash","Vector","index","license","reference","tutorial"],objects:{"":{"Polygon:bbox":[2,0,1,""],"Polygon:clone":[2,0,1,""],"Polygon:contains":[2,0,1,""],"Polygon:intersectionsWithRay":[2,0,1,""],"Polygon:intersectsRay":[2,0,1,""],"Polygon:isConvex":[2,0,1,""],"Polygon:mergedWith":[2,0,1,""],"Polygon:move":[2,0,1,""],"Polygon:rotate":[2,0,1,""],"Polygon:splitConvex":[2,0,1,""],"Polygon:triangulate":[2,0,1,""],"Polygon:unpack":[2,0,1,""],"Shape:bbox":[3,0,1,""],"Shape:center":[3,0,1,""],"Shape:collidesWith":[3,0,1,""],"Shape:contains":[3,0,1,""],"Shape:draw":[3,0,1,""],"Shape:intersectionsWithRay":[3,0,1,""],"Shape:intersectsRay":[3,0,1,""],"Shape:move":[3,0,1,""],"Shape:moveTo":[3,0,1,""],"Shape:outcircle":[3,0,1,""],"Shape:rotate":[3,0,1,""],"Shape:rotation":[3,0,1,""],"Shape:scale":[3,0,1,""],"Shape:setRotation":[3,0,1,""],"Shape:support":[3,0,1,""],"Spatialhash:cell":[4,0,1,""],"Spatialhash:cellAt":[4,0,1,""],"Spatialhash:cellCoords":[4,0,1,""],"Spatialhash:draw":[4,0,1,""],"Spatialhash:inSameCells":[4,0,1,""],"Spatialhash:register":[4,0,1,""],"Spatialhash:remove":[4,0,1,""],"Spatialhash:shapes":[4,0,1,""],"Spatialhash:update":[4,0,1,""],CircleShape:[3,1,1,""],ConcavePolygonShape:[3,1,1,""],ConvexPolygonShape:[3,1,1,""],PointShape:[3,1,1,""],Polygon:[2,1,1,""],Shape:[3,1,1,""],Spatialhash:[4,1,1,""],newCircleShape:[3,0,1,""],newPointShape:[3,0,1,""],newPolygonShape:[3,0,1,""]},HC:{"new":[1,0,1,""],circle:[1,0,1,""],collisions:[1,0,1,""],hash:[1,2,1,""],neighbors:[1,0,1,""],point:[1,0,1,""],polygon:[1,0,1,""],rectangle:[1,0,1,""],register:[1,0,1,""],remove:[1,0,1,""],resetHash:[1,0,1,""]}},objnames:{"0":["js","function","JavaScript function"],"1":["js","class","JavaScript class"],"2":["js","attribute","JavaScript attribute"]},objtypes:{"0":"js:function","1":"js:class","2":"js:attribute"},terms:{"_rotat":3,"boolean":4,"case":1,"default":3,"function":[1,2,3,6],"import":6,"l\u00f6ve":4,"new":[1,2,4],"return":[1,2,3,4],"true":[2,3,4],"while":[2,3,6],abl:1,about:1,abov:[1,3,7],action:7,actor:1,add:[1,3,6],addmark:3,advertis:7,affect:1,after:4,algorithm:[2,3],align:[2,3],all:[1,3,4,7],also:[1,6],amount:3,angl:[2,3],ani:[1,2,3,4,6,7],anymor:[1,3],applic:4,arbitrari:[3,4,6],archiv:6,argument:[1,2,3,4],aris:7,around:[2,3],arrai:6,aspect:6,assign:2,associ:7,attach:3,author:7,averag:[1,4],awai:1,axi:[2,3],back:1,ball:1,bbox:[2,3,4],becaus:1,befor:4,beforehand:1,below:[1,3],between:[1,2,6],big:1,blown:3,bound:[2,3,4],box:[2,3,4],bullet:1,bullt:1,bundl:[2,4],button:2,call:1,callback:6,can:[1,2,3,4,6],candid:1,cannot:1,care:3,carri:1,cell:[1,4],cell_siz:1,cellat:4,cellcoord:4,cellsiz:4,center:[1,2,3],centroid:2,chang:2,charg:7,check:6,choos:4,circl:[1,3,6],circleshap:3,claim:7,clear:1,client:6,clone:[2,6],close:1,code:2,collid:[1,3,6],collideswith:[1,3],collinear:2,colon:1,com:6,command:6,complet:2,compos:[2,8],comput:[2,3,6],concav:6,concave_polygon:2,concavepolygonshap:3,condit:7,conform:3,connect:[1,7],consecut:1,consid:2,construct:[1,2],contain:[2,3,4,7],contract:7,convex:2,convexpolygonshap:3,coordin:[2,3,4],copi:[2,7],copyright:7,core:3,corner:[1,2,3,4],cound:[2,3],creat:[1,2,3,4],custom:1,damag:7,data:1,deal:[7,8],debug:[3,4],decent:4,defin:[2,3,4,6],delet:[1,4],delta:[1,6],depend:[1,2,4],differ:1,direct:[2,3],directli:6,directori:6,discard:1,dispos:8,distanc:3,distribut:[1,7],document:7,doe:2,don:[1,2,3],done:6,doubl:3,down:3,download:6,draw:[2,3,4,6],draw_mod:4,drawmod:3,drawn:6,each:[1,3],edg:2,either:[2,3,4],els:[2,3],empti:4,enclos:3,end:[1,2,3,4,6],equival:3,erron:2,even:6,event:7,everi:6,everyth:3,exampl:[1,2,3,4,6],except:[4,7],exist:2,express:7,factor:3,fals:[2,4],faster:1,few:3,file:7,fill:[2,3,4,6],find:[1,3],fine:3,first:1,fit:7,follow:[3,7],form:2,format:6,four:1,frame:6,free:7,from:[1,4,6,7],full:3,fulli:3,furnish:7,furthest:3,game:[1,6],get:[1,2,3,4],getposit:[2,3,4,6],git:6,github:6,given:[2,3,4],good:4,govern:1,grant:7,graphic:[2,3,4,6],grid:1,handi:2,happen:2,hardoncollid:4,hash:[1,4],hasshield:3,have:[6,8],height:[1,4],here:6,herebi:7,highlight:2,hold:[1,6],holder:7,how:[1,3,6],howev:1,hump:[0,2,4,5],identifi:3,implement:[3,4],impli:7,includ:7,index:[4,6],indic:[2,3],insamecel:4,insert:4,insid:[2,6],instanc:1,instead:2,interest:3,interfac:[3,6],interior:[2,3],intern:[1,3],intersect:[1,2,3,6],intersectionswithrai:[2,3],intersectsrai:[2,3],invalid:1,ipair:[2,3],isconvex:2,iter:[1,4],just:1,kei:[1,3,4],kind:7,last:1,latest:6,layer:1,least:[1,2,3],leav:1,left:[1,2,3,4],liabil:7,liabl:7,licens:6,lie:[1,2],light:3,limit:7,line:[1,2,3,4,6],list:[1,2],littl:1,load:6,local:[1,3,4,6],look:[1,6],love:[2,3,4,6],lower:[2,3,4],lua:[2,3,6],magnitud:3,mai:[2,3],maintain:1,make:1,mani:[1,4],math:[2,3],matthia:7,mean:[1,4],merchant:7,merg:[2,7],mergedwith:2,messag:6,method:[1,3],middl:1,mix:4,mode:3,modifi:7,more:2,most:[1,3,8],mostli:[1,3,4],mous:[2,3,4,6],move:[1,2,3,4,6],moveto:[1,3,6],much:3,mul:3,must:[1,3],name:[3,7],need:[1,2,4,6,8],neighbor:1,new_stag:1,newcircleshap:3,newpointshap:3,newpolygonshap:[2,3],nil:[2,4],non:[1,6],noninfring:7,nor:4,notic:7,number:[1,2,3,4],obj1:4,obj2:4,obj:4,object:[1,2,4],object_with_unknown_posit:4,obtain:7,occupi:4,old:4,omit:[2,3],onc:6,onli:[1,2,3,4,8],onlin:6,oper:2,option:[1,2,3,4],origin:2,other:[1,2,3,6,7,8],otherwis:[2,7],our:1,out:7,outcircl:3,outlin:3,over:[1,4],overwrit:1,own:1,packag:6,page:6,pair:[1,4,6],paramet:[1,2,3],paremt:[2,3],part:8,particular:7,perform:1,permiss:7,permit:7,person:7,place:[4,6],player:[1,3],point:[1,2,3,4,6],pointshap:3,poli:2,polygon:1,portion:7,posit:[1,2,3,4,6],print:[3,4,6],print_kei:4,prior:7,problem:1,produc:3,promot:7,provid:[1,2,7],publish:7,pull:6,purpos:[1,3,4],queri:[1,3,4],quickli:1,radian:[2,3],radiu:[1,3],rai:[2,3],random:2,rather:2,ray_paramet:[2,3],record:4,rect:[1,6],rectangl:[1,2,3,6],refer:[1,2,6],regist:[1,4],rel:3,remov:[1,2,4,6],repositori:6,requir:[0,1,2,3,4,5,6],reset:1,resethash:1,resolut:1,respect:[1,3],restrict:7,result:[1,2],rewritten:9,richter:7,right:[2,3,4,7],rotat:[1,2,3,6],rule:[1,4],run:[1,6],sale:7,same:[1,4,6],scale:[1,3],scene:[1,3,4,6],screen:[4,6],search:[1,3,4,6],see:[0,1,4,5],self:1,sell:7,separ:[1,3,6],separating_vector:1,set:[1,3,4],setcolor:[4,6],sethov:[2,3],setlin:2,setrot:3,sever:[1,8],shadow:3,shall:7,shape:[1,2],share:2,should:[1,4],show_empti:4,shown:[2,4],side:1,simpl:6,simpli:2,simplifi:6,sinc:[2,3],singl:4,singleton:1,size:[1,3,4],slither:[2,4],softwar:7,some:[2,3],somewhat:1,sourcecod:6,spars:4,spatial:[1,4],spatialhash:1,specifi:3,speedup:4,split:2,splitconvex:2,stage:1,stai:6,start:[2,3],stick:6,still:3,store:[1,4],straight:[1,2],string:[4,6],structur:1,stuff:4,sub:[1,2,8],subject:7,sublicens:7,substanti:7,support:[3,4,6],sure:1,syntax:[1,2,4],system:[1,2,4],tabl:[1,2,3,4],takedamag:1,tar:6,tell:1,test:[2,3],text:6,than:[1,2],them:[6,8],thi:[1,2,3,6,7],thing:[2,3],those:1,three:[1,2],thumb:[1,4],time:[1,8],too:[2,3,4],tort:7,trace:1,transform:1,triangl:2,triangul:2,tutori:6,two:[1,2,3],type:[3,4,6],underscor:3,unexpect:2,unit:[2,3],unpack:2,updat:[1,4,6],upper:[1,2,3,4],user:3,util:1,valid:1,valu:[1,3,4],variabl:2,vector:[1,3],vector_light:5,veri:3,version:[1,6],vertex:3,vertic:[2,3],volum:3,vrld:6,wai:3,want:[1,3],warranti:7,well:1,were:1,wether:4,when:[2,4],where:[1,3],whether:7,which:[1,4],whole:4,whom:7,width:[1,4],wiki:4,without:7,work:[1,2,4],world:1,worri:1,would:[1,4],written:7,you:[1,2,3,4,6,8],your:[1,4,8],zip:6},titles:["HC.class","Main Module","HC.polygon","HC.shapes","HC.spatialhash","HC.vector","HC - General purpose collision detection with L\u00d6VE","License","Reference","Tutorial"],titleterms:{"class":[0,3],"l\u00f6ve":6,base:3,bookkeep:1,built:3,collis:[1,6],custom:3,detect:[1,6],first:6,gener:6,get:6,indic:6,initi:1,licens:7,main:1,modul:1,polygon:2,purpos:6,read:6,refer:8,shape:3,spatialhash:4,step:6,tabl:6,tutori:9,vector:5}}) |