pve, pygl
This commit is contained in:
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
#TODO: split channels
|
#TODO: split channels
|
||||||
|
|
||||||
from shape import Vertex, Shape
|
from .shape import Vertex, Shape
|
||||||
|
|
||||||
from array import array
|
from array import array
|
||||||
|
|
||||||
|
|||||||
@ -35,7 +35,7 @@ class Vertex:
|
|||||||
self.view = view
|
self.view = view
|
||||||
|
|
||||||
def __del__(self):
|
def __del__(self):
|
||||||
del self._view
|
del self.view
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def xy(self):
|
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.
|
# 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/>.
|
# If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
import libgl
|
from . import libgl
|
||||||
|
|
||||||
class Texture:
|
class Texture:
|
||||||
__slots__ = '_geometry', '_format', '_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.
|
# 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/>.
|
# If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
import libgl
|
from . import libgl
|
||||||
|
|
||||||
class VertexBuffer:
|
class VertexBuffer:
|
||||||
__slots__ = '_buffer', '_size'
|
__slots__ = '_buffer', '_size'
|
||||||
|
|||||||
Reference in New Issue
Block a user