Skip to content

Instantly share code, notes, and snippets.

@pezy
pezy / sphere.cpp
Created June 3, 2014 11:36
use OSG draw sphere
#include <osgViewer/Viewer>
#include <iostream>
#include <cmath>
#include <osg/Group>
#include <osg/Geometry>
#include <osg/Geode>
#include <osg/PositionAttitudeTransform>
#include <osg/PolygonMode>