class RayTracerChallenge::Adapters::SubPixelStream
- RayTracerChallenge::Adapters::SubPixelStream
- Reference
- Object
Defined in:
ray_tracer_challenge/adapters/sub_pixel_stream.crConstructors
Instance Method Summary
- #more?
- #receive
-
#sub_pixel_streamer
continuation fiber that feeds @sub_pixel_channel
Constructor Detail
Instance Method Detail
def sub_pixel_streamer
#
continuation fiber that feeds @sub_pixel_channel
Note: since PPM files start at the top left, the sub_pixel_streamer uses Canvas#flipped_each_with_index so that the canvas is streamed top to bottom.