Fix cmake file
Improve showing control points of splines
disfunctional
use pointers