Matrix4d.setTranslation

Set only the translation components <code>(m30, m31, m32)</code> of this matrix to the given values <code>(x, y, z)</code>. <p> To build a translation matrix instead, use {@link #translation(double, double, double)}. To apply a translation, use {@link #translate(double, double, double)}.

@see #translation(double, double, double) @see #translate(double, double, double)

@param x the units to translate in x @param y the units to translate in y @param z the units to translate in z @return this

  1. Matrix4d setTranslation(double x, double y, double z)
    struct Matrix4d
    ref return
    setTranslation
    (
    double x
    ,
    double y
    ,
    double z
    )
  2. Matrix4d setTranslation(Vector3d xyz)

Meta