struct RayLib::Vector2

Included Modules

Defined in:

raylib/converters.cr
raylib/structs.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(x : Float32, y : Float32) #

[View source]
def self.new(value : Oid::Vector2 | Oid::Vector3) #

[View source]
def self.new(pull : JSON::PullParser) #

def self.new(unwrap : Pointer(Binding::Vector2)) #

[View source]
def self.new(unwrap : Binding::Vector2) #

[View source]

Instance Method Detail

def to_unsafe #

[View source]
def x : Float32 #

[View source]
def x=(x : Float32) #

[View source]
def y : Float32 #

[View source]
def y=(y : Float32) #

[View source]