Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
π« Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download
Vector3d.linear_combination alternative form
-
Vector3d.linear_combination@unknownuser said:
In addition to the 4-argument form detailed here, you may also call this method with 6 parameters in the form of:
vec = Geom::Vector3d.linear_combination(x, xaxis, y, yaxis, z, zaxis)What does this one do?
-
Hmm I don tknow. I don't think I've ever used the 6 parameter form. It does not seem to have a way to specifiy the different vectors, so I thought it might mean (x_axis_vec1, x_axis_vec2,y_axis_vec1, y_axis_vec2,z_axis_vec1, z_axis_vec2) but that doesn't make sense because then there is no way to specify a weight.
So I am not sure...
-
It looks like it's like it's the same as the four argument version, but works with 3 vectors at once, instead of just 2.
Advertisement