mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 11:25:42 +00:00
converted all tabs to 4 spaces
This commit is contained in:
@@ -26,8 +26,8 @@ class Unit;
|
||||
|
||||
namespace Movement
|
||||
{
|
||||
// xinef: moved declaration here so it can be accessed out of MoveSplineInit.cpp
|
||||
UnitMoveType SelectSpeedType(uint32 moveFlags);
|
||||
// xinef: moved declaration here so it can be accessed out of MoveSplineInit.cpp
|
||||
UnitMoveType SelectSpeedType(uint32 moveFlags);
|
||||
|
||||
enum AnimType
|
||||
{
|
||||
@@ -50,20 +50,20 @@ namespace Movement
|
||||
bool _transformForTransport;
|
||||
};
|
||||
|
||||
// Xinef: transforms z coordinate with hover offset
|
||||
class HoverMovementTransform
|
||||
{
|
||||
public:
|
||||
HoverMovementTransform(float z_offset) : _offset(z_offset) { }
|
||||
Vector3 operator()(Vector3 input)
|
||||
{
|
||||
input.z += _offset;
|
||||
return input;
|
||||
}
|
||||
// Xinef: transforms z coordinate with hover offset
|
||||
class HoverMovementTransform
|
||||
{
|
||||
public:
|
||||
HoverMovementTransform(float z_offset) : _offset(z_offset) { }
|
||||
Vector3 operator()(Vector3 input)
|
||||
{
|
||||
input.z += _offset;
|
||||
return input;
|
||||
}
|
||||
|
||||
private:
|
||||
float _offset;
|
||||
};
|
||||
private:
|
||||
float _offset;
|
||||
};
|
||||
|
||||
/* Initializes and launches spline movement
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user