( 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)
| 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 ) |
no outgoing calls
no test coverage detected