Removes unused files from Gems/StartingPointMovement

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2022-01-06 15:56:14 -08:00
parent 03f734c8b3
commit b442cb9b3a
4 changed files with 0 additions and 54 deletions
@@ -14,8 +14,6 @@ ly_add_target(
INCLUDE_DIRECTORIES
PRIVATE
Source
PUBLIC
Include
BUILD_DEPENDENCIES
PRIVATE
AZ::AzCore
@@ -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
@@ -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
)