Exemple #1
0
 public void GetClosestIntersections(RayBundle rayBundle, int rayIndexToStartCheckingFrom, IntersectInfo[] intersectionsForBundle)
 {
     for (int i = 0; i < rayBundle.rayArray.Length; i++)
     {
         rayBundle.rayArray[i] = GetLocalSpaceRay(rayBundle.rayArray[i]);
     }
     Child.GetClosestIntersections(rayBundle, rayIndexToStartCheckingFrom, intersectionsForBundle);
     for (int i = 0; i < rayBundle.rayArray.Length; i++)
     {
         intersectionsForBundle[i] = GetGlobalSpaceInfo(intersectionsForBundle[i]);
     }
 }
Exemple #2
0
 public int FindFirstRay(RayBundle rayBundle, int rayIndexToStartCheckingFrom)
 {
     throw new NotImplementedException();
 }
Exemple #3
0
		public void GetClosestIntersections(RayBundle rayBundle, int rayIndexToStartCheckingFrom, IntersectInfo[] intersectionsForBundle)
		{
			throw new NotImplementedException();
		}
Exemple #4
0
		public int FindFirstRay(RayBundle rayBundle, int rayIndexToStartCheckingFrom)
		{
			throw new NotImplementedException();
		}
Exemple #5
0
 public void GetClosestIntersections(RayBundle rayBundle, int rayIndexToStartCheckingFrom, IntersectInfo[] intersectionsForBundle)
 {
     throw new NotImplementedException();
 }
Exemple #6
0
 public void GetClosestIntersections(RayBundle rayBundle, int rayIndexToStartCheckingFrom, IntersectInfo[] intersectionsForBundle)
 {
     for (int i = 0; i < rayBundle.rayArray.Length; i++)
     {
         rayBundle.rayArray[i] = GetLocalSpaceRay(rayBundle.rayArray[i]);
     }
     child.GetClosestIntersections(rayBundle, rayIndexToStartCheckingFrom, intersectionsForBundle);
     for (int i = 0; i < rayBundle.rayArray.Length; i++)
     {
         intersectionsForBundle[i] = GetGlobalSpaceInfo(intersectionsForBundle[i]);
     }
 }