fixed vertex location getdirection

fixed vertex location getdirection