From 96580c44bff6b466188b0e71d974829228e2fa88 Mon Sep 17 00:00:00 2001 From: realtradam Date: Wed, 9 Feb 2022 09:54:43 -0500 Subject: started work on text drawing methods --- mrblib/core.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mrblib') 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 -- cgit v1.2.3