billboards

This commit is contained in:
John McCardle 2026-02-04 20:47:51 -05:00
commit b85f225789
10 changed files with 1750 additions and 46 deletions

View file

@ -28,6 +28,9 @@ public:
sf::Sprite sprite(int index, sf::Vector2f pos = sf::Vector2f(0, 0), sf::Vector2f s = sf::Vector2f(1.0, 1.0));
int getSpriteCount() const { return sheet_width * sheet_height; }
// Get the underlying sf::Texture for 3D rendering
const sf::Texture* getSFMLTexture() const { return &texture; }
PyObject* pyObject();
static PyObject* repr(PyObject*);
static Py_hash_t hash(PyObject*);