Turn fixed-function vertex coord/matrix code into macros