diff options
| author | realtradam <[email protected]> | 2022-02-09 09:54:43 -0500 |
|---|---|---|
| committer | realtradam <[email protected]> | 2022-02-09 09:54:43 -0500 |
| commit | 96580c44bff6b466188b0e71d974829228e2fa88 (patch) | |
| tree | debd5839be1919439b3097a0a2d446355b206d81 /mrblib | |
| parent | aaed2a48f4565862aed1694e68105f1a06ebd3c8 (diff) | |
| download | mruby-raylib-96580c44bff6b466188b0e71d974829228e2fa88.tar.gz mruby-raylib-96580c44bff6b466188b0e71d974829228e2fa88.zip | |
started work on text drawing methods
Diffstat (limited to 'mrblib')
| -rw-r--r-- | mrblib/core.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mrblib/core.rb b/mrblib/core.rb index 3b64622..21960c0 100644 --- a/mrblib/core.rb +++ b/mrblib/core.rb @@ -1,6 +1,9 @@ module Raylib class Vector2 class << self + # A vector initialized to (0,0). Useful when dont care about the vector + # value but you still need to pass it into a function/method and dont want + # to initialize a new one many times. def default @default ||= self.new(0, 0) end |
