You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
draw-rectange arguments take integer but when we multiply it with get-frame-time the argument becomes float and we no longer put them into draw-rectangle.
The text was updated successfully, but these errors were encountered:
@Oleg-Harput It is decided by raylib, if you check the raylib.h for these signatures:
RLAPIvoidDrawRectangle(intposX, intposY, intwidth, intheight, Colorcolor); // Draw a color-filled rectangleRLAPIfloatGetFrameTime(void); // Get time in seconds for last frame drawn (delta time)
draw-rectange arguments take integer but when we multiply it with get-frame-time the argument becomes float and we no longer put them into draw-rectangle.
The text was updated successfully, but these errors were encountered: