TrinityCore
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Class List
Class Index
Class Hierarchy
Class Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Public Member Functions
|
Public Attributes
|
List of all members
Movement::FallInitializer Struct Reference
Public Member Functions
FallInitializer
(float _start_elevation)
int32
operator()
(
Spline
<
int32
> &s,
int32
i)
Public Attributes
float
start_elevation
Constructor & Destructor Documentation
Movement::FallInitializer::FallInitializer
(
float
_start_elevation
)
inline
96
:
start_elevation
(_start_elevation) { }
Movement::FallInitializer::start_elevation
float start_elevation
Definition:
MoveSpline.cpp:97
Member Function Documentation
int32
Movement::FallInitializer::operator()
(
Spline
<
int32
> &
s
,
int32
i
)
inline
99
{
100
return
Movement::computeFallTime
(
start_elevation
- s.getPoint(i+1).z,
false
) * 1000.f;
101
}
Movement::FallInitializer::start_elevation
float start_elevation
Definition:
MoveSpline.cpp:97
Movement::computeFallTime
float computeFallTime(float path_length, bool isSafeFall)
Definition:
MovementUtil.cpp:35
Here is the call graph for this function:
Member Data Documentation
float Movement::FallInitializer::start_elevation
The documentation for this struct was generated from the following file:
src/server/game/Movement/Spline/
MoveSpline.cpp
Generated on Tue Apr 5 2016 20:40:30 for TrinityCore by
1.8.8