protected override TrianglePairTester GetTester()
 {
     return(testerPool.Take());
 }
Exemplo n.º 2
0
 /// <summary>
 /// Retrieves a float list from the resource pool.
 /// </summary>
 /// <returns>Empty float list.</returns>
 public static RawList <float> GetFloatList()
 {
     return(SubPoolFloatList.Take());
 }
Exemplo n.º 3
0
 /// <summary>
 /// Retrieves a int hash set from the resource pool.
 /// </summary>
 /// <returns>Empty int set.</returns>
 public static HashSet <int> GetIntSet()
 {
     return(SubPoolIntSet.Take());
 }
Exemplo n.º 4
0
 /// <summary>
 /// Retrieves a int list from the resource pool.
 /// </summary>
 /// <returns>Empty int list.</returns>
 public static RawList <int> GetIntList()
 {
     return(SubPoolIntList.Take());
 }
Exemplo n.º 5
0
 /// <summary>
 /// Retrieves a ray hit list from the resource pool.
 /// </summary>
 /// <returns>Empty ray hit list.</returns>
 public static RawList <RayHit> GetRayHitList()
 {
     return(SubPoolRayHitList.Take());
 }
Exemplo n.º 6
0
 /// <summary>
 /// Retrieves a Vector3 list from the resource pool.
 /// </summary>
 /// <returns>Empty Vector3 list.</returns>
 public static RawList <Vector3> GetVectorList()
 {
     return(SubPoolVectorList.Take());
 }