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

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