Added first cut at new AutoTransform node which will be used for generating
Transform's during the cull traversal such as for earth/sky etc.
This commit is contained in:
parent
cc39c462de
commit
af968b00bd
@ -97,6 +97,10 @@ SOURCE=..\..\src\osg\AlphaFunc.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\src\osg\AutoTransform.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\src\osg\Billboard.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
@ -325,6 +329,10 @@ SOURCE=..\..\Include\Osg\AlphaFunc
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\Include\Osg\AutoTransform
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\Include\Osg\Billboard
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
@ -15,8 +15,8 @@ class Billboard;
|
||||
class LightSource;
|
||||
class Group;
|
||||
class Transform;
|
||||
class AutoTransform;
|
||||
class LOD;
|
||||
class Sequence;
|
||||
class Switch;
|
||||
class Impostor;
|
||||
class EarthSky;
|
||||
@ -141,8 +141,8 @@ class SG_EXPORT NodeVisitor : public Referenced
|
||||
|
||||
virtual void apply(Group& node) { apply((Node&)node); }
|
||||
virtual void apply(Transform& node) { apply((Group&)node); }
|
||||
virtual void apply(AutoTransform& node) { apply((Group&)node); }
|
||||
virtual void apply(Switch& node) { apply((Group&)node); }
|
||||
virtual void apply(Sequence& node) { apply((Group&)node); }
|
||||
virtual void apply(LOD& node) { apply((Group&)node); }
|
||||
virtual void apply(Impostor& node) { apply((LOD&)node); }
|
||||
virtual void apply(EarthSky& node) { apply((Group&)node); }
|
||||
|
@ -3,6 +3,7 @@ include $(OSGHOME)/Make/makedefs
|
||||
|
||||
C++FILES = \
|
||||
AlphaFunc.cpp\
|
||||
AutoTransform.cpp\
|
||||
Billboard.cpp\
|
||||
BoundingBox.cpp\
|
||||
BoundingSphere.cpp\
|
||||
@ -67,6 +68,7 @@ TARGET_LIB_FILES = lib$(TARGET_BASENAME).$(SO_EXT)
|
||||
TARGET_INCLUDE_FILES = \
|
||||
osg/Notify\
|
||||
osg/AlphaFunc\
|
||||
osg/AutoTransform\
|
||||
osg/Billboard\
|
||||
osg/BoundingBox\
|
||||
osg/BoundingSphere\
|
||||
|
@ -61,7 +61,6 @@ class PrintVisitor : public NodeVisitor
|
||||
virtual void apply(Group& node) { apply((Node&)node); }
|
||||
virtual void apply(Transform& node) { apply((Group&)node); }
|
||||
virtual void apply(Switch& node) { apply((Group&)node); }
|
||||
virtual void apply(Sequence& node) { apply((Group&)node); }
|
||||
virtual void apply(LOD& node) { apply((Group&)node); }
|
||||
virtual void apply(Impostor& node) { apply((LOD&)node); }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user