Changeset 1069 for nodebox-gl/trunk

Show
Ignore:
Timestamp:
07/20/10 18:00:06 (7 weeks ago)
Author:
tom
Message:
 
Location:
nodebox-gl/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • nodebox-gl/trunk/examples/08-physics/02-spring.py

    r1066 r1069  
    4444dragged = None 
    4545def draw(canvas): 
    46     print profile_framerate() 
     46 
    4747    canvas.clear() 
    4848 
  • nodebox-gl/trunk/nodebox/graphics/geometry.py

    r1063 r1069  
    405405from sys import platform 
    406406from ctypes import CFUNCTYPE, POINTER, byref, cast 
     407from ctypes import CFUNCTYPE as _CFUNCTYPE 
    407408from pyglet.gl import \ 
    408409    GLdouble, GLvoid, GLenum, GLfloat, pointer, \ 
     
    462463    def _C(function): 
    463464        f = _tessellate_callback_type[type](function) 
    464         gluTessCallback(_tessellator, type, cast(f, CFUNCTYPE(None))) 
     465        gluTessCallback(_tessellator, type, cast(f, _CFUNCTYPE(None))) 
    465466        return f 
    466467    return _C