Matrix4d.arcball
- Matrix4d arcball(double radius, double centerX, double centerY, double centerZ, double angleX, double angleY, Matrix4d dest)
- Matrix4d arcball(double radius, Vector3d center, double angleX, double angleY, Matrix4d dest)
- Matrix4d arcball(double radius, double centerX, double centerY, double centerZ, double angleX, double angleY)
struct Matrix4d
ref public return
arcball
- Matrix4d arcball(double radius, Vector3d center, double angleX, double angleY)
doml matrix_4d Matrix4d
constructorsfunctionsstatic variablesvariables
Apply an arcball view transformation to this matrix with the given <code>radius</code> and center <code>(centerX, centerY, centerZ)</code> position of the arcball and the specified X and Y rotation angles. <p> This method is equivalent to calling: <code>translate(0, 0, -radius).rotateX(angleX).rotateY(angleY).translate(-centerX, -centerY, -centerZ)</code>
@param radius the arcball radius @param centerX the x coordinate of the center position of the arcball @param centerY the y coordinate of the center position of the arcball @param centerZ the z coordinate of the center position of the arcball @param angleX the rotation angle around the X axis in radians @param angleY the rotation angle around the Y axis in radians @return this