shearY()

Transform

Description

Shears a shape around the y-axis the amount specified by the angle parameter.

Syntax

void shearY(float angle)

Parameters

NameTypeDescription
anglefloatangle in radians

Returns

void

Related

Under the Hood

From Processing.h:

void shearY(float angle);

Under the Hood

From Processing.cpp:

void PApplet::shearY(float a) {float m[]={1,std::tan(a),0,0,0,1,0,0,0,0,1,0,0,0,0,1};glMultMatrixf(m);}