MCPcopy Index your code
hub / github.com/benfry/processing4 / sin

Method sin

core/src/processing/core/PApplet.java:4332–4334  ·  view source on GitHub ↗

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. @webref math:trigonometry @webBrief Calculates the sine of an angle @param angle an angle in radians @see PApp

(float angle)

Source from the content-addressed store, hash-verified

4330 * @see PApplet#radians(float)
4331 */
4332 static public final float sin(float angle) {
4333 return (float)Math.sin(angle);
4334 }
4335
4336/**
4337 *

Callers 9

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

Calls

no outgoing calls

Tested by

no test coverage detected