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)
- Matrix4d arcball(double radius, Vector3d center, double angleX, double angleY)
struct Matrix4d
ref public return
arcball
doml matrix_4d Matrix4d
constructorsfunctionsstatic variablesvariables
Apply an arcball view transformation to this matrix with the given <code>radius</code> and <code>center</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(-center.x, -center.y, -center.z)</code>
@param radius the arcball radius @param center 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