Ignore:
Timestamp:
10/08/19 16:41:35 (5 years ago)
Author:
Sanahuja Guillaume
Message:

use float

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairFilter/src/JoyReference_impl.cpp

    r318 r336  
    174174  Vector3Df e_bar = theta_xy;
    175175  e_bar.Normalize();
    176   Quaternion q_xy(cos(theta_xy.GetNorm() / 2.0f),
    177                   e_bar.x * sin(theta_xy.GetNorm() / 2.0f),
    178                   e_bar.y * sin(theta_xy.GetNorm() / 2.0f), 0);
     176  Quaternion q_xy(cosf(theta_xy.GetNorm() / 2.0f),
     177                  e_bar.x * sinf(theta_xy.GetNorm() / 2.0f),
     178                  e_bar.y * sinf(theta_xy.GetNorm() / 2.0f), 0);
    179179  q_xy.Normalize();
    180180
Note: See TracChangeset for help on using the changeset viewer.