Matrix3d.setLookAlong

Set this matrix to a rotation transformation to make <code>-z</code> point along <code>dir</code>. <p> In order to apply the lookalong transformation to any previous existing transformation, use {@link #lookAlong(Vector3d, Vector3d)}.

@see #setLookAlong(Vector3d, Vector3d) @see #lookAlong(Vector3d, Vector3d)

@param dir the direction in space to look along @param up the direction of 'up' @return this

  1. Matrix3d setLookAlong(Vector3d dir, Vector3d up)
    struct Matrix3d
    ref return
    setLookAlong
  2. Matrix3d setLookAlong(double dirX, double dirY, double dirZ, double upX, double upY, double upZ)

Meta