vb.net - programing ranging data -
i have 2 inputs 0-180 x , y need add them , stay in range of 180 , 0 having trouble since 90 mid point cant seem keep data in range im doing in vb.net need logic
result = (x + y) / 2
perhaps? @ least stay in 0-180 range. there other constraints you're not telling about, since right seems pretty obvious.
Comments
Post a Comment