FarseerPhysics.Collision.Shapes.CircleShape.computeProperties C# (CSharp) 메소드

computeProperties() 보호된 최종 메소드

protected final computeProperties ( ) : void
리턴 void
		protected override sealed void computeProperties()
		{
			var area = Settings.pi * _2radius;
			massData.area = area;
			massData.mass = density * area;
			massData.centroid = position;

			// inertia about the local origin
			massData.inertia = massData.mass * ( 0.5f * _2radius + Vector2.Dot( position, position ) );
		}