Skip to content

Instantly share code, notes, and snippets.

View Raizel's full-sized avatar

Raizel Raizel

View GitHub Profile
@zester
zester / SFML2 and OpenSceneGraph 3
Created April 17, 2012 01:08
SFML2 and OpenSceneGraph 3
// g++ main.cpp -o main -lsfml-window -lsfml-graphics -lsfml-system -losg -losgDB -losgGA -losgUtil
#include <SFML/Graphics.hpp>
#include <osgUtil/SceneView>
#include <osg/Node>
#include <osg/CameraNode>
#include <osg/Group>
#include <osgDB/ReadFile>
@hb3p8
hb3p8 / ImGuiHandler.cpp
Created January 29, 2016 08:33
ImGui OSG wrapper
#include <ImGuiHandler.hpp>
#include <imgui/imgui.h>
#include <iostream>
using namespace sf;
// This is the main rendering function that you have to implement and provide to ImGui (via setting up 'RenderDrawListsFn' in the ImGuiIO structure)
// If text or lines are blurry when integrating ImGui in your engine: