fixed texture alignment bug on SQUALL again...
This commit is contained in:
parent
572e2d58fe
commit
c7dc57aca3
2 changed files with 4 additions and 1 deletions
|
@ -333,7 +333,7 @@ class RenderLayer(object):
|
|||
def render(self):
|
||||
self.material.bind()
|
||||
glPushMatrix()
|
||||
glTranslatef(500.5, 300.5, 0.0)
|
||||
glTranslatef(500.0, 300.0, 0.0)
|
||||
glScalef(*self.scale)
|
||||
self.mesh.draw(self.material.texcoords)
|
||||
glPopMatrix()
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
import models
|
||||
import pipeline
|
||||
import pygame
|
||||
from OpenGL.GL import *
|
||||
from py3dutil import vect, quat
|
||||
|
||||
class base_universe(object):
|
||||
def __init__(self):
|
||||
|
|
Loading…
Add table
Reference in a new issue