Fix a bug.
Triangle clipping and mesh orientation fix.
Add simplier variant.