bugfix in xtm tri/quad drawing

num points arg was off by a factor of 2