|
|
|
@ -80,6 +80,7 @@ auto construct_helixline_extrude_axis(const helixline_axis_descriptor_t& desc) |
|
|
|
rot *= Eigen::Quaterniond::FromTwoVectors(rot * Eigen::Vector3d(1, 0, 0), convert_vec3d(desc.start_direction)); |
|
|
|
if (!desc.is_righthanded) axis_to_world.matrix().col(1).y() = -1; |
|
|
|
axis_to_world = rot * axis_to_world; |
|
|
|
axis_to_world.matrix().col(2) *= height; |
|
|
|
axis_to_world.translation() = origin; |
|
|
|
|
|
|
|
return std::make_tuple(obj, false, axis_to_world); |
|
|
|
|