Module org.dyn4j

Class WarmStartingContactManager

    • Constructor Detail

      • WarmStartingContactManager

        public WarmStartingContactManager()
        Deprecated.
        Default constructor.
        Since:
        3.2.0
      • WarmStartingContactManager

        public WarmStartingContactManager​(Capacity initialCapacity)
        Deprecated.
        Full constructor.

        The initial capacity is used to help performance in the event that the developer knows the number of bodies the world will contain. The WarmStartingContactManager will grow past the initial capacity if necessary.

        Parameters:
        initialCapacity - the estimated number of Bodys
        Throws:
        java.lang.NullPointerException - if initialCapacity is null
        Since:
        3.2.0