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)

Arguments

r1

[cpFloat]

r2

[cpFloat]

Value

[cpFloat]

Details

C function prototype: CP_EXPORT cpFloat cpAreaForCircle(cpFloat r1, cpFloat r2);