AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
MovementUtil.cpp File Reference
#include "MoveSplineFlag.h"
#include <math.h>
#include <string>

Go to the source code of this file.

Namespaces

namespace  Movement
 

Macros

#define STR(x)   #x
 

Functions

float Movement::computeFallTime (float path_length, bool isSafeFall)
 
float Movement::computeFallElevation (float t_passed, bool isSafeFall, float start_velocity=0.0f)
 
template<class Flags , int N>
void Movement::print_flags (Flags t, char const *(&names)[N], std::string &str)
 

Variables

float Movement::terminalVelocity = 60.148003f
 Velocity bounds that makes fall speed limited.
 
float Movement::terminalSafefallVelocity = 7.0f
 
const float Movement::terminal_length = float(terminalVelocity* terminalVelocity) / (2.0f * gravity)
 
const float Movement::terminal_safeFall_length = (terminalSafefallVelocity* terminalSafefallVelocity) / (2.0f * gravity)
 
const float Movement::terminal_fallTime = float(terminalVelocity / gravity)
 
const float Movement::terminal_safeFall_fallTime = float(terminalSafefallVelocity / gravity)
 
char const * Movement::g_MovementFlag_names []
 
char const * Movement::g_SplineFlag_names [32]
 

Macro Definition Documentation

◆ STR

#define STR (   x)    #x