예제 #1
0
파일: Ray.cs 프로젝트: ukitake/Stratum
 public override bool Test(Ray other)
 {
     return sray.Intersects(ref other.sray);
 }
예제 #2
0
 public abstract bool Test(Ray other);
예제 #3
0
파일: Cylinder.cs 프로젝트: ukitake/Stratum
 public override bool Test(Ray other)
 {
     throw new NotImplementedException();
 }
예제 #4
0
파일: Triangle.cs 프로젝트: ukitake/Stratum
 public override bool Test(Ray other)
 {
     float o;
     return Collision.RayIntersectsTriangle(ref other.sray, ref P1, ref P2, ref P3, out o);
 }