opensurgsim
Namespaces | Functions
OsgUnitSphereTests.cpp File Reference

Tests for the OsgUnitSphere class. More...

#include "SurgSim/Graphics/OsgUnitSphere.h"
#include <gtest/gtest.h>

Namespaces

 SurgSim
 Wraps glewInit() to separate the glew opengl definitions from the osg opengl definitions only imgui needs glew but we need to call glewInit() from a osg callback, using this call we avoid getting warnings about redefinitions.
 

Functions

 SurgSim::Graphics::TEST (OsgUnitSphereTests, InitTest)
 

Detailed Description

Tests for the OsgUnitSphere class.

Function Documentation

§ TEST()

SurgSim::Graphics::TEST ( OsgUnitSphereTests  ,
InitTest   
)

The sphere should be at (0, 0, 0) with radius 1