add useful funcs for vector3d