DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ QuatLerp()

static proto void Math3D::QuatLerp ( out float qout[4],
float q1[4],
float q2[4],
float frac )
staticprivate

Linear interpolation between q1 and q2 with weight 'frac' (0...1)

Аргументы
[out]qoutfloat[4] result quaternion
q1float[4] first quaternion
q2float[4] second quaternion
fracfloat interpolation weight
float q1[4] = { 1, 1, 1, 1 };
float q2[4] = { 2, 2, 2, 1 };
float qout[4];
Math3D.QuatLerp( qout, q1, q2, 0.5 );
Print( qout );
>> {1.5,1.5,1.5,1}
proto void Print(void var)
Prints content of variable to console/log.
void Math3D()
Определения EnMath3D.c:29

Используется в FloatingCrossHair().