idmillington / cyclone-physics

The Physics engine that accompanies the book "Game Physics Engine Design"
MIT License
946 stars 264 forks source link

typo in contacts.h #55

Open lzhelyaskov opened 3 years ago

lzhelyaskov commented 3 years ago

one of positionEpsilon should probably be velocityEpsilon

        /**
         * Returns true if the resolver has valid settings and is ready to go.
         */
        bool isValid()
        {
            return (velocityIterations > 0) &&
                   (positionIterations > 0) &&
                   (positionEpsilon >= 0.0f) &&
                   (positionEpsilon >= 0.0f);
        }