add some helping math method, will add method for Sprite3D to create primitive 3d Objects like triangle , cube ,sphere and etc.