Add impl_to_vec! and impl_as_vec! macros and use for points and colors