terrainpoint=position[i]+DoRotation(model[i].vertex[j]+model[i].normals[j]*.1,0,rotation[i],0);
//terrainpoint.y+=model[i].boundingsphereradius;
shadowed[i]=0;
terrainpoint=position[i]+DoRotation(model[i].vertex[j]+model[i].normals[j]*.1,0,rotation[i],0);
//terrainpoint.y+=model[i].boundingsphereradius;
shadowed[i]=0;