Skip to content

Instantly share code, notes, and snippets.

@fulezi
fulezi / CollectNormalsVisitor.cpp
Created December 1, 2017 09:01
OpenSceneGraph - Display model normals
#include "CollectNormalsVisitor.hpp"
#include <cassert>
#include <osg/Geode>
#include <osg/Geometry>
namespace ose {
@fulezi
fulezi / ImGuiHandler.cpp
Last active March 25, 2024 02:47 — forked from hb3p8/ImGuiHandler.cpp
ImGui OpenSceneGraph wrapper
#include "ImGuiHandler.hpp"
#include "imgui/imgui.h"
#include <iostream>
#include <osgUtil/GLObjectsVisitor>
#include <osgUtil/SceneView>
#include <osgUtil/UpdateVisitor>