Example #1
0
        public static CollisionPair Find(CollisionPairName name)
        {
            _ColMan.ComparePair.Name = name;
            CollisionPair resultPair = (CollisionPair)_ColMan.BaseFind(_ColMan.ComparePair);

            return(resultPair);
        }
Example #2
0
        public static ColPair Find(ColPair.Name pairName)
        {
            ColPairMan pMan = ColPairMan.PrivGetInstance();

            Debug.Assert(pMan != null);


            pMan.poNodeCompare.SetName(pairName);

            ColPair pCPNode = (ColPair)pMan.BaseFind(pMan.poNodeCompare);

            return(pCPNode);
        }
Example #3
0
        public static ColPair Find(ColPair.Name name)
        {
            ColPairMan pMan = ColPairMan.PrivGetInstance();

            Debug.Assert(pMan != null);

            // Compare functions only compares two Nodes

            // So:  Use the Compare Node - as a reference
            //      use in the Compare() function
            pMan.poNodeCompare.SetName(name);

            ColPair pData = (ColPair)pMan.BaseFind(pMan.poNodeCompare);

            return(pData);
        }