Moved TextNode from osgText into example/osgtext3D in prep for 3.0
This commit is contained in:
parent
d7747685b3
commit
0ee0aad0fe
@ -1,9 +1,14 @@
|
|||||||
SET(TARGET_SRC
|
SET(TARGET_SRC
|
||||||
|
TextNode.cpp
|
||||||
osgtext3D_orig.cpp
|
osgtext3D_orig.cpp
|
||||||
osgtext3D_test.cpp
|
osgtext3D_test.cpp
|
||||||
osgtext3D.cpp
|
osgtext3D.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
|
SET(TARGET_H
|
||||||
|
TextNode.h
|
||||||
|
)
|
||||||
|
|
||||||
SET(TARGET_ADDED_LIBRARIES osgText )
|
SET(TARGET_ADDED_LIBRARIES osgText )
|
||||||
#### end var setup ###
|
#### end var setup ###
|
||||||
SETUP_EXAMPLE(osgtext3D)
|
SETUP_EXAMPLE(osgtext3D)
|
||||||
|
@ -11,8 +11,8 @@
|
|||||||
* OpenSceneGraph Public License for more details.
|
* OpenSceneGraph Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <osgText/TextNode>
|
#include "TextNode.h"
|
||||||
#include "GlyphGeometry.h"
|
#include "../../src/osgText/GlyphGeometry.h"
|
||||||
|
|
||||||
#include <osg/PositionAttitudeTransform>
|
#include <osg/PositionAttitudeTransform>
|
||||||
#include <osg/Geode>
|
#include <osg/Geode>
|
@ -30,9 +30,10 @@
|
|||||||
#include <osgViewer/ViewerEventHandlers>
|
#include <osgViewer/ViewerEventHandlers>
|
||||||
#include <osg/io_utils>
|
#include <osg/io_utils>
|
||||||
|
|
||||||
#include <osgText/TextNode>
|
|
||||||
#include <osgText/Text3D>
|
#include <osgText/Text3D>
|
||||||
|
|
||||||
|
#include "TextNode.h"
|
||||||
|
|
||||||
extern int main_orig(int, char**);
|
extern int main_orig(int, char**);
|
||||||
extern int main_test(int, char**);
|
extern int main_test(int, char**);
|
||||||
|
|
||||||
|
@ -18,7 +18,6 @@ SET(LIB_PUBLIC_HEADERS
|
|||||||
${HEADER_PATH}/Style
|
${HEADER_PATH}/Style
|
||||||
${HEADER_PATH}/TextBase
|
${HEADER_PATH}/TextBase
|
||||||
${HEADER_PATH}/Text
|
${HEADER_PATH}/Text
|
||||||
${HEADER_PATH}/TextNode
|
|
||||||
${HEADER_PATH}/Text3D
|
${HEADER_PATH}/Text3D
|
||||||
${HEADER_PATH}/Version
|
${HEADER_PATH}/Version
|
||||||
)
|
)
|
||||||
@ -38,7 +37,6 @@ ADD_LIBRARY(${LIB_NAME}
|
|||||||
Style.cpp
|
Style.cpp
|
||||||
TextBase.cpp
|
TextBase.cpp
|
||||||
Text.cpp
|
Text.cpp
|
||||||
TextNode.cpp
|
|
||||||
Text3D.cpp
|
Text3D.cpp
|
||||||
Version.cpp
|
Version.cpp
|
||||||
${OPENSCENEGRAPH_VERSIONINFO_RC}
|
${OPENSCENEGRAPH_VERSIONINFO_RC}
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
#include <osgUtil/SmoothingVisitor>
|
#include <osgUtil/SmoothingVisitor>
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "GlyphGeometry.h"
|
#include "GlyphGeometry.h"
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
#ifndef OSGTEXT_GLYPHGEOMETRY
|
#ifndef OSGTEXT_GLYPHGEOMETRY
|
||||||
#define OSGTEXT_GLYPHGEOMETRY 1
|
#define OSGTEXT_GLYPHGEOMETRY 1
|
||||||
|
|
||||||
#include <osgText/TextNode>
|
#include <osgText/Text3D>
|
||||||
|
|
||||||
namespace osgText
|
namespace osgText
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user