def setOffsetByMultiplier(begin, end, multiplier, offset):
 segment = (end - begin)
 delta = ((segment * multiplier) - segment)
 offset.setToVector3((offset + delta))

def setOffsetByMultiplier ( begin , end , multiplier , offset ) : segment = ( end - begin ) delta = ( ( segment * multiplier ) - segment ) offset . setToVector3 ( ( offset + delta ) )
set the offset by the multiplier .