Moved MoveCameraAnimation.h from es-app to es-core.

This commit is contained in:
Leon Styhre 2021-08-17 22:23:42 +02:00
parent 12c853bc31
commit 83c0bc5ca6
3 changed files with 4 additions and 6 deletions

View file

@ -48,9 +48,6 @@ set(ES_HEADERS
${CMAKE_CURRENT_SOURCE_DIR}/src/views/SystemView.h
${CMAKE_CURRENT_SOURCE_DIR}/src/views/UIModeController.h
${CMAKE_CURRENT_SOURCE_DIR}/src/views/ViewController.h
# Animations
${CMAKE_CURRENT_SOURCE_DIR}/src/animations/MoveCameraAnimation.h
)
set(ES_SOURCES

View file

@ -22,6 +22,7 @@ set(CORE_HEADERS
${CMAKE_CURRENT_SOURCE_DIR}/src/animations/Animation.h
${CMAKE_CURRENT_SOURCE_DIR}/src/animations/AnimationController.h
${CMAKE_CURRENT_SOURCE_DIR}/src/animations/LambdaAnimation.h
${CMAKE_CURRENT_SOURCE_DIR}/src/animations/MoveCameraAnimation.h
# GUI components
${CMAKE_CURRENT_SOURCE_DIR}/src/components/AnimatedImageComponent.h

View file

@ -6,8 +6,8 @@
// Animation to play when moving the camera, used by the slide transition style.
//
#ifndef ES_APP_ANIMATIONS_MOVE_CAMERA_ANIMATION_H
#define ES_APP_ANIMATIONS_MOVE_CAMERA_ANIMATION_H
#ifndef ES_CORE_ANIMATIONS_MOVE_CAMERA_ANIMATION_H
#define ES_CORE_ANIMATIONS_MOVE_CAMERA_ANIMATION_H
#include "animations/Animation.h"
#include "utils/MathUtil.h"
@ -38,4 +38,4 @@ private:
glm::vec3 mTarget;
};
#endif // ES_APP_ANIMATIONS_MOVE_CAMERA_ANIMATION_H
#endif // ES_CORE_ANIMATIONS_MOVE_CAMERA_ANIMATION_H