Kotlin Tools for Android ViewModel, LiveData, Data Binding, Dependency injection, Async operations, Repository pattern, Retrofit, Form Validation, Cloud Firestore, etc.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//SDL2 flashing random color example | |
//Should work on iOS/Android/Mac/Windows/Linux | |
#include <SDL.h> | |
#include <SDL_opengl.h> | |
#include <stdlib.h> //rand() | |
static bool quitting = false; | |
static float r = 0.0f; |