minor geometry.h stuff