function test(){
var results = [[0],[1],[1]]
var testarr = [
[[0,1],[.2,0]],
[[.3,1],[.5,0]],
[[0,1],[.2,.8]]
];
var clickCoord = [[.2,.2],[.3,.7],[.4,.1]];
for ( var i = 0;i < clickCoord.length; i++){
if(
RegCheck (tessarr,clickCoord[i])== results [i]
){
}
}
}
any suggestions to add in the {} of the if statement. not sure how to get it to tell me if it is true or false
Aucun commentaire:
Enregistrer un commentaire