struct AABB

Defined in:

engine/aabb.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(v0 : Vector2, size : Vector2) #

[View source]

Instance Method Detail

def bottom #

[View source]
def bottomleft #

[View source]
def bottomright #

[View source]
def center #

[View source]
def clone #

[View source]
def copy_with(v0 _v0 = @v0, size _size = @size) #

[View source]
def cut(dv) #

[View source]
def height #

[View source]
def includes?(vector) #

[View source]
def left #

[View source]
def right #

[View source]
def size : Vector2 #

def top #

[View source]
def topleft #

[View source]
def topright #

[View source]
def v0 : Vector2 #

def width #

[View source]