add smoothsnap sample
Merge branch 'work'