enum BlockFace

Defined in:

rosegold/world/vec3.cr

Enum Members

Bottom = 0

order matters for packet serialization

Top = 1
North = 2
South = 3
West = 4
East = 5

Instance Method Summary

Instance Method Detail

def +(vec : Vec3d | Vec3i) : Vec3d #

[View source]
def bottom? #

[View source]
def east? #

[View source]
def north? #

[View source]
def south? #

[View source]
def to_vec3d(len : Float64 = 0.5) : Vec3d #

[View source]
def top? #

[View source]
def west? #

[View source]