Re: Raylib Wrapper 5.5 Released!

new topic     » goto parent     » topic index » view thread      » older message » newer message
andreasWagner said...

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.

Good catch. I have fixed it. It is now correct on the EuRaylib 5.5 repo.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu