-
-
Notifications
You must be signed in to change notification settings - Fork 179
Expand file tree
/
Copy pathxyz.py
More file actions
22 lines (18 loc) · 830 Bytes
/
xyz.py
File metadata and controls
22 lines (18 loc) · 830 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# -----------------------------------------------------------------------------
# Copyright (c) 2009-2016 Nicolas P. Rougier. All rights reserved.
# Distributed under the (new) BSD License.
# -----------------------------------------------------------------------------
from glumpy import library
from . transform import Transform
class X(Transform):
def __init__(self, *args, **kwargs):
code = library.get("transforms/x.glsl")
Transform.__init__(self, code, *args, **kwargs)
class Y(Transform):
def __init__(self, *args, **kwargs):
code = library.get("transforms/y.glsl")
Transform.__init__(self, code, *args, **kwargs)
class Z(Transform):
def __init__(self, *args, **kwargs):
code = library.get("transforms/z.glsl")
Transform.__init__(self, code, *args, **kwargs)