1
# -*- coding: utf-8 -*-
8
class Piece(glchess.scene.ChessPiece):
11
class Scene(glchess.scene.Scene):
13
def __init__(self, feedback):
16
def addChessPiece(self, chessSet, name, coord, feedback):
19
# PyOpenGL 3.0 renamed GLError -> GLerror, support 2.0
20
if not hasattr(OpenGL.GL, 'GLerror'):
21
OpenGL.GL.GLerror = OpenGL.GLError
22
if not hasattr(OpenGL.GLU, 'GLUerror'):
23
OpenGL.GLU.GLUerror = OpenGL.GLU.GLUError