pve, pygl
This commit is contained in:
@ -16,7 +16,7 @@
|
||||
|
||||
#TODO: split channels
|
||||
|
||||
from shape import Vertex, Shape
|
||||
from .shape import Vertex, Shape
|
||||
|
||||
from array import array
|
||||
|
||||
|
||||
@ -35,7 +35,7 @@ class Vertex:
|
||||
self.view = view
|
||||
|
||||
def __del__(self):
|
||||
del self._view
|
||||
del self.view
|
||||
|
||||
@property
|
||||
def xy(self):
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
# You should have received a copy of the GNU General Public License along with People's Video Editor.
|
||||
# If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
import libgl
|
||||
from . import libgl
|
||||
|
||||
class Texture:
|
||||
__slots__ = '_geometry', '_format', '_texture'
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
# You should have received a copy of the GNU General Public License along with People's Video Editor.
|
||||
# If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
import libgl
|
||||
from . import libgl
|
||||
|
||||
class VertexBuffer:
|
||||
__slots__ = '_buffer', '_size'
|
||||
|
||||
Reference in New Issue
Block a user