MCPcopy Index your code
hub / github.com/processing/processing / cos

Method cos

core/src/processing/core/PApplet.java:4771–4773  ·  view source on GitHub ↗

( begin auto-generated from cos.xml ) Calculates the cosine of an angle. This function expects the values of the angle parameter to be provided in radians (values from 0 to PI 2). Values are returned in the range -1 to 1. ( end auto-generated ) @webref math:trigonometry @param angle an angl

(float angle)

Source from the content-addressed store, hash-verified

4769 * @see PApplet#radians(float)
4770 */
4771 static public final float cos(float angle) {
4772 return (float)Math.cos(angle);
4773 }
4774
4775/**
4776 * ( begin auto-generated from tan.xml )

Callers 9

invRotateMethod · 0.95
lightSpotMethod · 0.95
parsePathArctoMethod · 0.95
parseSingleTransformMethod · 0.95
rotateMethod · 0.95
setParametersMethod · 0.45
PGraphicsClass · 0.45
random3DMethod · 0.45
fromAngleMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected