forked from go-gl-legacy/glu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcallback.h
21 lines (16 loc) · 794 Bytes
/
callback.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2012 The go-gl Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
#ifndef _CALLBACK_H_
#define _CALLBACK_H_
#include <GL/glu.h>
extern void goTessBeginData(GLenum type, void *polygon_data);
extern void goTessVertexData(void *vertex_data, void *polygon_data);
extern void goTessEndData(void *polygon_data);
extern void goTessErrorData(GLenum errno, void *polygon_data);
extern void goTessEdgeFlagData(GLboolean flag, void *polygon_data);
extern void goTessCombineData(void *coords, void *vertex_data,
void *weight, void *outData,
void *polygon_data);
void setGluTessCallback(GLUtesselator *tess, GLenum which);
#endif // _CALLBACK_H_