예제 #1
0
 protected override Vector LocalNormal(Point p, Intersection hit)
 {
     return(Vector.VectorY);
 }
예제 #2
0
        protected override Vector LocalNormal(Point p, Intersection hit)
        {
            var point = p - Point.Zero;

            return(new Vector(point.x, point.y, point.z));
        }