R/chipmunk.R
cpAreaForCircle.Rd
Calculate area of a hollow circle. @c r1 and @c r2 are the inner and outer diameters. A solid circle has an inner diameter of 0.
cpAreaForCircle(r1, r2)
r1 | [ |
---|---|
r2 | [ |
[cpFloat
]
C function prototype: CP_EXPORT cpFloat cpAreaForCircle(cpFloat r1, cpFloat r2);