Skip to content

Instantly share code, notes, and snippets.

@remoe
remoe / osgearth_wasm.cpp
Last active April 6, 2022 12:59
osgearth simple SDL sample
#include <osgDB/Registry>
#ifdef __EMSCRIPTEN__
#include <emscripten.h>
#endif
#include <SDL2/SDL.h>
#include <osgDB/ReadFile>
#include <osgViewer/Viewer>