gwnavruntime/math/converge.h Source File
Go to the documentation of this file.
9 #ifndef Navigation_Converge_H
10 #define Navigation_Converge_H
44 #endif // Navigation_Converge_H
This class represents a three-dimensional 6 freedom degrees unit transform.
Definition: converge.h:20
static KyFloat32 ConvergeToFloat32(KyFloat32 desired, KyFloat32 maxDelta, KyFloat32 current)
Returns a float that is as close as possible to 'desired' but respecting |returned_value - current| < />
This class defines a two-dimensional vector whose coordinates are stored using floating-point numbers...
Definition: vec2f.h:24
Definition: gamekitcrowddispersion.h:20
static Vec2f ConvergeToDir2d(const Vec2f &desiredDir2D, KyFloat32 maxDeltaAngleInRadian, const Vec2f ¤tDir2D)
Returns a 2D direction that is as close as possible to 'desiredDir2D' but respecting |angle(returned_...
float KyFloat32
Type used internally to represent a 32-bit floating-point number.
Definition: types.h:43