add c version better render triangle