Exemple #1
0
 def set_call(func):
     cb = callback_types[which](func)
     gluTessCallback(tess, which, cast(cb, CFUNCTYPE(None)))
     return cb
Exemple #2
0
 def _C(function):
     f = _tessellate_callback_type[type](function)
     gluTessCallback(_tessellator, type, cast(f, _CFUNCTYPE(None)))
     return f
 def set_call(func):
     cb = callback_types[which](func)
     gluTessCallback(tess, which, cast(cb, CFUNCTYPE(None)))
     return cb
Exemple #4
0
 def _C(function):
     f = _tessellate_callback_type[type](function)
     gluTessCallback(_tessellator, type, cast(f, _CFUNCTYPE(None)))
     return f