Vector2d.setComponent

Set the value of the specified component of this vector.

@param component the component whose value to set, within <code>[0..1]</code> @param value the value to set @return this @throws IllegalArgumentException if <code>component</code> is not within <code>[0..1]</code>

struct Vector2d
ref return
setComponent
(,
double value
)

Meta