lstgx_Math Math and geometry support of LuaSTG-x. Dependency Vec2 class in cocos2d-x/math Features 2D collision check of following geometry: Circle Oriented Bounding Box Ellipse Diamond Triangle Point Spline interpolation of following methods: Cardinal Catmull-Rom Centripetal Catmull-Rom Solution of quadratic, cubic and quartic equation. Fast fourier transformation based on meow_fft. Window functions for FFT. Random algorithm from Python.