Most building code requirement for lateral deflection of buildings is to limit the storey drift to H/500. However it is unclear if this limit is based on the worse orthogonal direction or the resultant of the two orthogonal directions (resultant of X and Y deflection). What is you thought on this?