Changeset 336 in flair-src for trunk/lib/FlairFilter/src/JoyReference_impl.cpp
- Timestamp:
- 10/08/19 16:41:35 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairFilter/src/JoyReference_impl.cpp
r318 r336 174 174 Vector3Df e_bar = theta_xy; 175 175 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); 179 179 q_xy.Normalize(); 180 180
Note:
See TracChangeset
for help on using the changeset viewer.