Matrix4x3d.setLookAlong

Set this matrix to a rotation transformation to make <code>-z</code> point along <code>dir</code>. <p> This is equivalent to calling {@link #setLookAt(double, double, double, double, double, double, double, double, double) setLookAt()} with <code>eye = (0, 0, 0)</code> and <code>center = dir</code>. <p> In order to apply the lookalong transformation to any previous existing transformation, use {@link #lookAlong(double, double, double, double, double, double) lookAlong()}

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

@param dirX the x-coordinate of the direction to look along @param dirY the y-coordinate of the direction to look along @param dirZ the z-coordinate of the direction to look along @param upX the x-coordinate of the up vector @param upY the y-coordinate of the up vector @param upZ the z-coordinate of the up vector @return this

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

Meta