raylib-ffi
raylib-ffi copied to clipboard
Raylib bindings for PHP using FFI
- [x] Add example file - [ ] Cover new methods with tests --- Issues found: - [ ] Callback receives a `va_list` as argument; We need to parse this...
This was found while implementing the `Raylib::updateCamera()` method. The snippet below can reproduce the issue: ``` public function updateCamera(Types\Camera3D $camera): void { $cdata = FFI::addr($camera->toCData($this->ffi)); $this->ffi->UpdateCamera($cdata); // ... } public...
I have different viewports on different machines. Details still to be added. See screenshot: 