c++ - Is there the possibility to set a single component of a boost quaternion? -
i trying set single component of boost quaternion. @ first, in foolishness tried:
quat.r_component_1() = 5.0;
and of course did not work. had closer @ header file of boost quaternions , seems there no possibility set single component of quaternion. able set whole quaternion constructor, not single component.
does know possibility set single component of boost quaternion, without setting whole quaternion constructor?
Comments
Post a Comment