Removes unused files from Gems/StartingPointMovement
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -14,8 +14,6 @@ ly_add_target(
|
||||
INCLUDE_DIRECTORIES
|
||||
PRIVATE
|
||||
Source
|
||||
PUBLIC
|
||||
Include
|
||||
BUILD_DEPENDENCIES
|
||||
PRIVATE
|
||||
AZ::AzCore
|
||||
|
||||
-21
@@ -1,21 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) Contributors to the Open 3D Engine Project.
|
||||
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
||||
*
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
namespace Movement
|
||||
{
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
/// These are intended to be used as an index and needs to be implicitly
|
||||
/// convertible to int. See StartingPointMovementUtilities.h for examples
|
||||
enum AxisOfRotation
|
||||
{
|
||||
X_Axis = 0,
|
||||
Y_Axis = 1,
|
||||
Z_Axis = 2
|
||||
};
|
||||
} //namespace Movement
|
||||
-29
@@ -1,29 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) Contributors to the Open 3D Engine Project.
|
||||
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
||||
*
|
||||
*/
|
||||
#pragma once
|
||||
#include <AzCore/Math/Vector3.h>
|
||||
#include "StartingPointMovement/StartingPointMovementConstants.h"
|
||||
#include <AzCore/Math/Quaternion.h>
|
||||
#include <AzCore/Math/Transform.h>
|
||||
|
||||
namespace Movement
|
||||
{
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
/// This will calculate an AZ::Transform based on an axis of rotation and an angle
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
static AZ::Transform CreateRotationFromAxis(AxisOfRotation rotationType, float radians)
|
||||
{
|
||||
static const AZ::Transform(*s_createRotation[3]) (const float) =
|
||||
{
|
||||
&AZ::Transform::CreateRotationX,
|
||||
&AZ::Transform::CreateRotationY,
|
||||
&AZ::Transform::CreateRotationZ
|
||||
};
|
||||
return s_createRotation[rotationType](radians);
|
||||
}
|
||||
} //namespace Movement
|
||||
@@ -8,6 +8,4 @@
|
||||
|
||||
set(FILES
|
||||
Source/StartingPointMovementGem.cpp
|
||||
Include/StartingPointMovement/StartingPointMovementConstants.h
|
||||
Include/StartingPointMovement/StartingPointMovementUtilities.h
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user