[r7 ztriangle_smooth]
- re-organize code.
.
.