diff options
Diffstat (limited to 'mrblib')
| -rw-r--r-- | mrblib/raylib.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mrblib/raylib.rb b/mrblib/raylib.rb index 67d1b9e..9856e5b 100644 --- a/mrblib/raylib.rb +++ b/mrblib/raylib.rb @@ -30,6 +30,14 @@ module Raylib self._draw_texture(texture, x, y, tint) end + def draw_texture_ex(texture:, pos:, rotation:, scale:, tint: Rl::Color.new(255,255,255,255)) + self._draw_texture_ex(texture, pos, rotation, scale, tint) + end + + def draw_texture_pro(texture:, source:, dest:, origin:, rotation:, tint: Rl::Color.new(255,255,255,255)) + self._draw_texture_pro(texture, source, dest, origin, rotation, tint) + end + def keys_pressed if self.data_keys_pressed return self.data_keys_pressed |
