Fix euclid classes base class.
Fix euclid classes base class.


Index: euclid.py
===================================================================
--- euclid.py	(revision 704)
+++ euclid.py	(working copy)
@@ -63,7 +63,7 @@
             return types.ClassType.__new__(types.ClassType, name, bases, dct)
 __metaclass__ = _EuclidMetaclass

-class Vector2:
+class Vector2(object):
     __slots__ = ['x', 'y']

     def __init__(self, x, y):
@@ -258,7 +258,7 @@
         return Vector2(self.x - d * normal.x,
                        self.y - d * normal.y)

-class Vector3:
+class Vector3(object):
     __slots__ = ['x', 'y', 'z']

     def __init__(self, x, y, z):
@@ -493,7 +493,7 @@
 # e f g
 # i j k

-class Matrix3:
+class Matrix3(object):
     __slots__ = list('abcefgijk')

     def __init__(self):
@@ -637,7 +637,7 @@
 # i j k l
 # m n o p

-class Matrix4:
+class Matrix4(object):
     __slots__ = list('abcdefghijklmnop')

     def __init__(self):
@@ -913,7 +913,7 @@
         return self
     new_perspective = classmethod(new_perspective)

-class Quaternion:
+class Quaternion(object):
     # All methods and naming conventions based off
     # http://www.euclideanspace.com/maths/algebra/realNormedAlgebra/quaternions

@@ -1158,7 +1158,7 @@
 # Much maths thanks to Paul Bourke, http://astronomy.swin.edu.au/~pbourke
 # ---------------------------------------------------------------------------

-class Geometry:
+class Geometry(object):
     def _connect_unimplemented(self, other):
         raise AttributeError, 'Cannot connect %s to %s' % \
             (self.__class__, other.__class__)
@@ -1667,7 +1667,7 @@
         if c:
             return c._swap()

-class Line3:
+class Line3(object):
     __slots__ = ['p', 'v']

     def __init__(self, *args):
@@ -1773,7 +1773,7 @@

     length = property(lambda self: abs(self.v))

-class Sphere:
+class Sphere(object):
     __slots__ = ['c', 'r']

     def __init__(self, center, radius):
@@ -1821,7 +1821,7 @@
         if c:
             return c

-class Plane:
+class Plane(object):
     # n.p = k, where n is normal, p is point on plane, k is constant scalar
     __slots__ = ['n', 'k']

mpasternak/pyglet-fix-issue-552,google-code-export/pyglet,xshotD/pyglet,odyaka341/pyglet,arifgursel/pyglet,xshotD/pyglet,mpasternak/michaldtz-fixes-518-522,mpasternak/michaldtz-fix-552,kmonsoor/pyglet,Austin503/pyglet,xshotD/pyglet,qbektrix/pyglet,shaileshgoogler/pyglet,cledio66/pyglet,Austin503/pyglet,arifgursel/pyglet,odyaka341/pyglet,odyaka341/pyglet,shaileshgoogler/pyglet,gdkar/pyglet,kmonsoor/pyglet,qbektrix/pyglet,xshotD/pyglet,kmonsoor/pyglet,Alwnikrotikz/pyglet,mpasternak/pyglet-fix-issue-518-522,shaileshgoogler/pyglet,qbektrix/pyglet,Austin503/pyglet,odyaka341/pyglet,mpasternak/michaldtz-fix-552,kmonsoor/pyglet,cledio66/pyglet,cledio66/pyglet,cledio66/pyglet,google-code-export/pyglet,qbektrix/pyglet,mpasternak/michaldtz-fix-552,Alwnikrotikz/pyglet,Alwnikrotikz/pyglet,mpasternak/michaldtz-fix-552,odyaka341/pyglet,xshotD/pyglet,mpasternak/michaldtz-fixes-518-522,arifgursel/pyglet,mpasternak/pyglet-fix-issue-552,gdkar/pyglet,arifgursel/pyglet,mpasternak/pyglet-fix-issue-518-522,Austin503/pyglet,gdkar/pyglet,shaileshgoogler/pyglet,Alwnikrotikz/pyglet,mpasternak/michaldtz-fixes-518-522,Austin503/pyglet,google-code-export/pyglet,arifgursel/pyglet,gdkar/pyglet,cledio66/pyglet,mpasternak/michaldtz-fixes-518-522,gdkar/pyglet,mpasternak/pyglet-fix-issue-518-522,qbektrix/pyglet,google-code-export/pyglet,mpasternak/pyglet-fix-issue-518-522,mpasternak/pyglet-fix-issue-552,shaileshgoogler/pyglet,google-code-export/pyglet,kmonsoor/pyglet,Alwnikrotikz/pyglet,mpasternak/pyglet-fix-issue-552