What unit of measure does pyglet use?

63 views
Skip to first unread message

Rolando Fernandez

unread,
Sep 30, 2020, 8:35:04 AM9/30/20
to pyglet-users
Hello,

Does anyone know what the unit of measure used in pyglet is?

Thanks

Rolando Fernandez

unread,
Sep 30, 2020, 8:42:12 AM9/30/20
to pyglet-users
For reference I'm creating an environment using pyglet.gl and would like know the unit of measure for the dimension of a geometric shape.

Petr Viktorin

unread,
Sep 30, 2020, 9:27:03 AM9/30/20
to pyglet...@googlegroups.com
By default, all sizes are in pixels.
(You can use OpenGL to set a different scale.)

And seconds are used for time.
Reply all
Reply to author
Forward
0 new messages