fixed texture alignment bug on SQUALL again...

This commit is contained in:
cecilkorik 2011-06-19 00:09:31 -06:00
parent 572e2d58fe
commit c7dc57aca3
2 changed files with 4 additions and 1 deletions

View file

@ -333,7 +333,7 @@ class RenderLayer(object):
def render(self): def render(self):
self.material.bind() self.material.bind()
glPushMatrix() glPushMatrix()
glTranslatef(500.5, 300.5, 0.0) glTranslatef(500.0, 300.0, 0.0)
glScalef(*self.scale) glScalef(*self.scale)
self.mesh.draw(self.material.texcoords) self.mesh.draw(self.material.texcoords)
glPopMatrix() glPopMatrix()

View file

@ -1,5 +1,8 @@
import models import models
import pipeline import pipeline
import pygame
from OpenGL.GL import *
from py3dutil import vect, quat
class base_universe(object): class base_universe(object):
def __init__(self): def __init__(self):