removed unused triangle draw callback