Matrix4x3d.translationRotateTowards

Set this matrix to a model transformation for a right-handed coordinate system, that translates to the given <code>pos</code> and aligns the local <code>-z</code> axis with <code>dir</code>. <p> This method is equivalent to calling: <code>translation(pos).rotateTowards(dir, up)</code>

@see #translation(Vector3d) @see #rotateTowards(Vector3d, Vector3d)

@param pos the position to translate to @param dir the direction to rotate towards @param up the up vector @return this

  1. Matrix4x3d translationRotateTowards(Vector3d pos, Vector3d dir, Vector3d up)
    struct Matrix4x3d
    ref public return
    translationRotateTowards
  2. Matrix4x3d translationRotateTowards(double posX, double posY, double posZ, double dirX, double dirY, double dirZ, double upX, double upY, double upZ)

Meta