Skip to content

Commit 474a5a4

Browse files
author
Tom De Smedt
committed
Merge branch 'master' of github.com:nodebox/nodebox-opengl
Conflicts: setup.py
2 parents 16d2f61 + 2211bcc commit 474a5a4

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ Thumbs.db
1515

1616
# Temporary editor files
1717
*.swp
18+
.idea

nodebox/graphics/geometry.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -449,10 +449,10 @@ def __repr__(self):
449449
# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
450450

451451
from sys import platform
452-
from ctypes import CFUNCTYPE, POINTER, byref, cast
452+
from ctypes import CFUNCTYPE, POINTER, byref, cast, pointer
453453
from ctypes import CFUNCTYPE as _CFUNCTYPE
454454
from pyglet.gl import \
455-
GLdouble, GLvoid, GLenum, GLfloat, pointer, \
455+
GLdouble, GLvoid, GLenum, GLfloat, \
456456
gluNewTess, gluTessProperty, gluTessNormal, gluTessCallback, gluTessVertex, \
457457
gluTessBeginPolygon, gluTessEndPolygon, \
458458
gluTessBeginContour, gluTessEndContour, \

nodebox/graphics/shader.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#=== SHADER ==========================================================================================
1+
22
# Fragment shaders, filters, Frame Buffer Object (FBO)
33
# Authors: Tom De Smedt, Frederik De Bleser
44
# License: BSD (see LICENSE.txt for details).
@@ -10,6 +10,8 @@
1010
from context import Image, texture
1111
from geometry import lerp, clamp
1212
from math import radians
13+
from ctypes import byref, cast, pointer, POINTER
14+
from ctypes import c_char, c_char_p, c_uint, c_int
1315

1416
def next(generator, default=None):
1517
try:

0 commit comments

Comments
 (0)