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

Method sin

core/src/processing/core/PApplet.java:4753–4755  ·  view source on GitHub ↗

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

(float angle)

Source from the content-addressed store, hash-verified

4751 * @see PApplet#radians(float)
4752 */
4753 static public final float sin(float angle) {
4754 return (float)Math.sin(angle);
4755 }
4756
4757/**
4758 * ( begin auto-generated from cos.xml )

Callers 8

invRotateMethod · 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