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