shearY()
TransformDescription
Shears a shape around the y-axis the amount specified by the angle parameter.
Syntax
void shearY(float angle)
Parameters
| Name | Type | Description |
|---|---|---|
| angle | float | angle in radians |
Returns
voidRelated
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);}