further copy edits
This commit is contained in:
		
							parent
							
								
									149d037824
								
							
						
					
					
						commit
						ba0b664e3f
					
				| @ -77,6 +77,14 @@ local function parse_maxspeed(source) | ||||
|   return n | ||||
| end | ||||
| 
 | ||||
| -- function turn_function (angle) | ||||
| --   -- print ("called at angle " .. angle ) | ||||
| --   local index = math.abs(math.floor(angle/10+0.5))+1 -- +1 'coz LUA starts as idx 1 | ||||
| --   local penalty = turn_cost_table[index] | ||||
| --   -- print ("index: " .. index .. ", bias: " .. penalty ) | ||||
| --   return penalty | ||||
| -- end | ||||
| 
 | ||||
| function node_function (node) | ||||
|   local access = find_access_tag(node, access_tags_hierachy) | ||||
| 
 | ||||
| @ -260,4 +268,4 @@ function node_vector_function(vector) | ||||
|   for v in vector.nodes do | ||||
|     node_function(v) | ||||
|   end | ||||
| end | ||||
| end | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user