-record(vec2, {x :: float(), y :: float()}).