I am trying to set a single component of a boost quaternion. At first, in my foolishness I tried:
quat.R_component_1() = 5.0;
and of course this did not work. I had a closer look at the header file of boost quaternions and it seems that there is no possibility to set a single component of a quaternion. You are able to set the whole quaternion by a constructor, but not a single component.
Does anybody know a possibility to set a single component of a boost quaternion, without setting the whole quaternion with a constructor?