π‘ LightUp 7.1 | SketchUp's only real-time renderer that uses object-based rendering
Download Trial
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