josch wrote:
> hi padraig!
> 
> i'm so glad that someone actually looked at the code!
> 
> On Dec 2, 5:07 pm, Padraig Kitterick <[EMAIL PROTECTED]>
> wrote:
>> You might consider making the current code more efficient by reducing
>> the number of static values that are recomputed on every update cycle.
>> For example, on every move operation you calculate (in _move):
>>
>> self.tile_size * self.mapset.width - self.vp_width
> actually self.tile_size changes when zooming - the smaller the tile
> size the more zoomed out. i could also have a fixed tile size but then
> i would have to multiply it with a zoom factor which leads to the same

You should use glScalef instead :)

MWM

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to pyglet-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to