package math type Position Vec2f func (p *Position) Set(v Vec2f) { *p = Position(v) } func (p Position) Get() Vec2f { return Vec2f(p) }