Difficult-Rocket/libs/pyglet_rs
2023-03-26 00:53:11 +08:00
..
src thats A LOT of code 2023-03-26 00:52:36 +08:00
__init__.py change name Sprite -> Sprite_rs 2023-03-25 20:13:17 +08:00
README.md doing! 2023-03-26 00:53:11 +08:00

pyglet_rs

This is a folder about pyglet_rs.

What is pyglet_rs?

pyglet_rs is a python library that patches pyglet to use rust to make it faster!

Notice

This Folder may be move to an individual repo. here is just a temp location

requirements

  • python 3.8+
  • pyglet 2.0+
  • pyo3 0.18.1
  • no more

status

  • still writing

usage

import pyglet_rs
pyglet_rs.patch_sprite()

import pyglet
...

how to build

cd src
./build.ps1

roadmap

  • pyglet.sprite.Sprite patch (doing)

  • pyglet.math.Vec2 patch (doing)

  • pyglet.math.Vec3 patch (doing)

  • pyglet.math.Vec4 patch (doing)

  • pyglet.math.Mat3(tuple) patch (doing)

  • pyglet.math.Mat4(tuple) patch (doing)