android build
This commit is contained in:
@@ -14,12 +14,6 @@ constexpr static float moonXOffset = 0.1f;
|
||||
constexpr static float minSizeOfMoon = 0.1f;
|
||||
constexpr static float maxSizeOfMoon = 0.15f;
|
||||
constexpr static float maxYPosOfMoon = 0.80f;
|
||||
constexpr static float bigRingRatio = 0.5f;
|
||||
constexpr static float smallRingRatio = 0.25f;
|
||||
constexpr static float bigRingBlend = 0.02f;
|
||||
constexpr static float smallRingBlend = 0.05f;
|
||||
constexpr static float colorRatio1 = 0.3f;
|
||||
constexpr static float colorRatio2 = 0.7f;
|
||||
constexpr static float mounten1min = 0.65f;
|
||||
constexpr static float mounten1max = 0.85f;
|
||||
constexpr static float mounten2min = 0.80f;
|
||||
|
@@ -16,9 +16,9 @@ int Circle::colorLoc;
|
||||
void Circle::init()
|
||||
{
|
||||
#if defined(PLATFORM_ANDROID) || defined(PLATFORM_WEB)
|
||||
shader = LoadShaderFromMemory(0, sun_shader_100);
|
||||
shader = LoadShaderFromMemory(nullptr, sun_shader_100);
|
||||
#else
|
||||
shader = LoadShaderFromMemory(0, (const char *)shaders_sun_330_fs);
|
||||
shader = LoadShaderFromMemory(nullptr, (const char *)shaders_sun_330_fs);
|
||||
#endif
|
||||
target = LoadRenderTexture(sizeTexute, sizeTexute);
|
||||
|
||||
|
@@ -38,7 +38,6 @@ void calculateLevels(int canvasSize)
|
||||
// Public
|
||||
void Tree::init(int size)
|
||||
{
|
||||
this->canvasSize = size;
|
||||
start.x = size / 2;
|
||||
start.y = size;
|
||||
calculateLevels(size);
|
||||
|
Reference in New Issue
Block a user