Re: Raylib Wrapper 5.5 Released!
- Posted by andreasWagner 2 weeks ago
- 176 views
Hallo,
around line 263,264 in rlgl.e this
xrlTranslatef = define_c_proc(ray,"+rlTranslatef",{C_FLOAT,C_FLOAT,C_FLOAT,C_FLOAT}), --4 parameter xrlRotatef = define_c_proc(ray,"+rlRotatef",{C_FLOAT,C_FLOAT,C_FLOAT}), --3 parameter
should be this:
xrlTranslatef = define_c_proc(ray,"+rlTranslatef",{C_FLOAT,C_FLOAT,C_FLOAT}), --3 parameter xrlRotatef = define_c_proc(ray,"+rlRotatef",{C_FLOAT,C_FLOAT,C_FLOAT,C_FLOAT}), --4 parameter
according to rlgl.h
RLAPI void rlTranslatef(float x, float y, float z); // Multiply the current matrix by a translation matrix RLAPI void rlRotatef(float angle, float x, float y, float z); // Multiply the current matrix by a rotation matrix
I noticed this with the example core_2d_camera_mouse_zoom.ex from libffi-euphoria.
Hope this helps.