Calculate the moment of inertia for a circle. @c r1 and @c r2 are the inner and outer diameters. A solid circle has an inner diameter of 0.

cpMomentForCircle(m, r1, r2, offset)

Arguments

m

[cpFloat]

r1

[cpFloat]

r2

[cpFloat]

offset

[cpVect *]

Value

[cpFloat]

Details

C function prototype: CP_EXPORT cpFloat cpMomentForCircle(cpFloat m, cpFloat r1, cpFloat r2, cpVect offset);