public override Vector2d GetUVCoordinates(IIntersectionResult intersectionResult) { QuadIntersectionResult quadIntersectionResult = intersectionResult as QuadIntersectionResult; return(quadIntersectionResult.TriangleObjectIntersectionResult.Object.GetUVCoordinates(quadIntersectionResult.TriangleObjectIntersectionResult)); }
public override Color GetColor(Vector3d direction, IIntersectionResult intersectionResult, Scene scene) { QuadIntersectionResult quadIntersectionResult = intersectionResult as QuadIntersectionResult; return(quadIntersectionResult.TriangleObjectIntersectionResult.Object.GetColor(direction, quadIntersectionResult.TriangleObjectIntersectionResult, scene)); }
public override Vector3d GetNormal(IIntersectionResult intersectionResult) { QuadIntersectionResult quadIntersectionResult = intersectionResult as QuadIntersectionResult; return(quadIntersectionResult.TriangleObjectIntersectionResult.Object.GetNormal(quadIntersectionResult.TriangleObjectIntersectionResult)); }