class Day3::MyAABB

Defined in:

day3.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pos : Day3::Rect, vert_split : Bool, owner : Nil | Day3::MyAABB = nil) #

[View source]

Instance Method Detail

def add(r : Rect) #

[View source]
def add_leaf(c1, c2) #

[View source]
def add_single(x) #

[View source]
def draw(map, scale) #

[View source]
def find_single #

[View source]
def id : Int32 #

[View source]
def id=(id : Int32) #

[View source]
def inc #

[View source]
def leaves : Array(Day3::MyAABB) #

[View source]
def measure #

[View source]
def pos : Rect #

[View source]
def reset_singles #

[View source]
def value #

[View source]
def vert_split : Bool #

[View source]