Move animation related classes
This commit is contained in:
@@ -14,8 +14,8 @@
|
||||
#include "Scene/Vertex.hpp"
|
||||
#include "Scene/SimpleDrawable.hpp"
|
||||
#include "Scene/Camera.hpp"
|
||||
#include "Scene/SimpleAnimationController.hpp"
|
||||
#include "Scene/SequenceAnimationController.hpp"
|
||||
#include "Scene/Animation/SimpleAnimationController.hpp"
|
||||
#include "Scene/Animation/SequenceAnimationController.hpp"
|
||||
#include "Scene/MorphableCameraController.hpp"
|
||||
#include "Scene/UI/PerformanceInfo.hpp"
|
||||
#include "Scene/SceneIntersectionTestController.hpp"
|
||||
@@ -176,8 +176,7 @@ namespace OpenVulkano
|
||||
Math::Pose srcPose(Math::Quaternion<float>(), Math::Vector3f_SIMD(-3, 0, 0));
|
||||
Math::Pose destPose(Math::Quaternion<float>(), Math::Vector3f_SIMD(3, 0, 0));
|
||||
m_simpleAnimationController.SetPoses(srcPose, destPose);
|
||||
m_simpleAnimationController.m_completionEvent +=
|
||||
EventHandler(this, &MovingCubeAppImpl::OnSimpleAnimationCompleted);
|
||||
m_simpleAnimationController.OnCompletion += EventHandler(this, &MovingCubeAppImpl::OnSimpleAnimationCompleted);
|
||||
|
||||
m_sequenceAnimationController.EnableLoop(true);
|
||||
m_sequenceAnimationController.SetNode(&m_redBox.m_node);
|
||||
|
||||
Reference in New Issue
Block a user