Commit graph

5 commits

Author SHA1 Message Date
Richard Smith
33dce4ecfd
Improve struct creation helper methods by auto converting arguments: (#119)
* None to ffi.NULL
 * array and ndarray to buffer, and keep weakref so it doesn't get GCed

This makes it possible to create Mesh structs without too much faffing.
2024-03-03 11:45:09 +00:00
Richard Smith
70b8d7c143 tidy examples 2024-02-21 12:21:32 +00:00
richard
ef91af804b fixes to examples 2022-02-04 10:42:07 +00:00
richard
82d310ea76 fix more examples https://github.com/electronstudio/raylib-python-cffi/issues/47 2022-02-02 20:28:08 +00:00
richard
aa5659f272 update examples 2021-08-28 13:07:02 +01:00