five-on-it / packages/world/src/road-profile / columnShare
Function: columnShare()
columnShare(
road,columns,j):number
Defined in: packages/world/src/road-profile.ts:96
Where column j of a road's profile is read, as a share of the way from the middle to the edge on its side (negative: left): its own place, but an edge column a little inside the edge, clear of the kerb.
Parameters
road
Pick<RoadDef, "width">
columns
number
j
number
Returns
number