Kaba class Box ed

...

Syntax ed

class Box
    var max: vec3
    var min: vec3

    # constructors
    func mut __init__()
    func mut __init__(min: vec3, max: vec3)

    # functions
    func pure center() -> vec3
    func pure is_inside(p: vec3) -> bool
    func pure size() -> vec3
    func pure to_absolute(p: vec3) -> vec3
    func pure to_relative(p: vec3) -> vec3

    # operators
    func pure __str__() -> string        # str(Box) -> string
    func mut __assign__(b: Box)          # Box = Box

    # constants
    let ID: Box
    let ID_SYM: Box

Functions ed

func pure center() -> vec3
...

func pure is_inside(p: vec3) -> bool
...

func pure size() -> vec3
...

func pure to_absolute(p: vec3) -> vec3
...

func pure to_relative(p: vec3) -> vec3
...

Elements ed

var max: vec3
...

var min: vec3
...